B
Bill Cunningham
Can anyone tell me what I'm doing here.
#include <stdio.h>
#include "p.h"
extern int show(const char *p){
printf(%c,p);}
Compile into p.o
p.h says
#include <stdio.h>
int show(const char *p);
prog.c says
#include <stdio.h>
#include "p.h"
int main(){
show("hello");}
compile gcc prog.c -o prog
This is all f*cked up. What's wrong with that printf? Go ahead and laugh
and throw tomatoes.
Bill
#include <stdio.h>
#include "p.h"
extern int show(const char *p){
printf(%c,p);}
Compile into p.o
p.h says
#include <stdio.h>
int show(const char *p);
prog.c says
#include <stdio.h>
#include "p.h"
int main(){
show("hello");}
compile gcc prog.c -o prog
This is all f*cked up. What's wrong with that printf? Go ahead and laugh
and throw tomatoes.
Bill