View Single Post
Old 01-31-2012, 12:08 PM   #96
VarsityPuppet
Master of Puppets
 
VarsityPuppet's Avatar
 
Join Date: May 2009
Location: MN
Posts: 1,248
Current Game: Chrono Trigger
Contest winner - Modding Forum Veteran Veteran Modder Helpful! 
You only have to declare sub1() if you're putting the code after the main function. Otherwise, you can declare and initialize it in one statement.

aka:
//No need for writing sub1();

void sub1(){
[insert code]
}

void main{
[insert code]
}

VarsityPuppet is offline   you may: quote & reply,