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

C and C++ Question

Name: Anonymous 2008-10-09 18:17

Why must you declare functions twice?

Name: Anonymous 2009-01-01 8:21

its called prototyping. the first time u basicly just say, this function is somewhere in this file. Otherwise your compiler will bump into functions he doensn 't know yet and will just not compile. U can do without prototyping, its not needed, however it makes the order in wich the functions are ordered in tour code-file irrelevant.

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