G'Day all,
I'm trying to write programs that use multiple functions, but I can't seem to figure out the syntax I need to use. I'm using the following syntax, and keep getting errors regarding undeclared functions:
I've looked through the helpfiles of Dev-C++ and don't seem to be able to find much in the way of the correct syntax.Code:#include <stdio.h> #include <stdlib.h> int main() { printf("1"); Funct1(); Funct2(); system("PAUSE"); return 0; } Funct1() { printf("2"); } Funct2() { printf("3"); }
Any help?
Cheers.