how do I seperate my program into functions to simplify it for other programmers?
e.g. is this right?
#include....
int....
float....
void main()
{
printname();
}//end main
void printname()
{
cout<<"my name is ...";
}//end
if so I have a larger program which doesnt work, why, what could I be doing wrong?



LinkBack URL
About LinkBacks


