Menu

#1 compile fix for A.01.04

open
nobody
None
5
2003-10-01
2003-10-01
No

c++ -g -Wall -c hw.cc -o hw.o
c++ -g -Wall -c main.cc -o main.o
c++ -g -Wall -c print.cc -o print.o
print.cc: In function `void status(const char *)':
print.cc:786: `stderr' undeclared (first use this function)
print.cc:786: (Each undeclared identifier is reported
only once
print.cc:786: for each function it appears in.)
print.cc:786: implicit declaration of function `int
fprintf(...)'
print.cc:790: implicit declaration of function `int
fflush(...)'
make: *** [print.o] Error 1

Discussion


Log in to post a comment.

MongoDB Logo MongoDB