Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

A newbie question about C

Name: Anonymous 2011-08-07 10:10

If you compile a function in a seperate source file and then use it in another file, do you need a prototype for that function in any file wherein it is called or just in the original one?

Thank you.

Name: Anonymous 2011-08-07 10:43

do you include <stdio.h>?
yes.
do you use prototypes when you are using printf()?
no.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List