//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// end
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// end
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#endif
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// end
//XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
How do you compile and link? Do you use an IDE or the command-line?
The code as it stands appears fine, apart from a minor error at this line in main():
int PauseAndReturn();
That's a declaration, not a function call. But that's trivial, it isn't the cause of your trouble. The code itself is ok.
The problems you report arise because the linker cannot find the definitions of the missing functions. Linking takes place after compilation, when building the final program.
wait in dev c++ there should be like you know ummmm main.cpp and uitility .cpp and uitility.h to left hand side u know what i mean but i do not have that maybe that is the problem?
in dev c++ there should be like you know ummmm main.cpp and uitility .cpp and uitility.h
Yes, almost. You should have main.cpp and utility.cpp to the left, as part of the current project. (you don't need to add the header utility.h there, because it is already #included by each of the others).
From the menu, project->add to project then select the .cpp file.