Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Function Prototype
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Junaid2pac




PostPosted: Sat Jul 28, 2007 11:45 am   Post subject: Function Prototype

Wat is the point of the function prototype?
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Sat Jul 28, 2007 12:16 pm   Post subject: RE:Function Prototype

code:
#include <iostream>

int main()
{
   foo();
}

void foo()
{
   std::cout << "foo" << std::endl;
}


Why doesn't this work?
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: