Archived

This topic is now archived and is closed to further replies.

RaistlinMajere

function help

Recommended Posts

ok, i have a function and it has stuff in it. and i have main, and it has stuff in it.. now when i call the function from main nothing happens, lets look at it like this:
void Move()
{
std::cout<<"theres stuff in here!";
// more stuff

}
int main()
{
std::cout<<"heres some more stuff too!";
// stuff

Move(); // call the function?

return 0;
}
everything in main runs properly, but when its supposed to call the function it doesnt..i think thats what wrong. btw theres no error sin the program.

Share this post


Link to post
Share on other sites