To tell the truth I am not really sure what 'mypause()' is, however, I got it from the FAQ's, to stop my command line from closing. It took me about 3 hours to find something that would work.
Type: Posts; User: JimRoach
To tell the truth I am not really sure what 'mypause()' is, however, I got it from the FAQ's, to stop my command line from closing. It took me about 3 hours to find something that would work.
Is this the sames as using
void mypause()
mypause();
cin.get();
Or is system("pause"), something else, entirely?
Sorry, didn't mean to start a fight....
However, the responses on the thread were very helpful, and made me more than a little fearful of asking another question....that being said,
I went on...
"And btw, this is a very simplified version of what really happens."
Thanks...for everything, everyone. When you showed me what I was doing wrong, I was going strictly by the tutorial, and you...
Yes, You are right, I did find that in the FAQ. I was going by the tutorial which instructed you to put in the line: cin.get() , to keep the window open
ok, you are right, I needed to be more specific.
I may not have done it right, what you recommended was to try it from the command line, so, I opened the command prompt, I am using Windows XP,...
Before asking a technical question by e-mail, or in a newsgroup, or on a website chat board, do the following:
Try to find an answer by searching the archives of the forum you plan to post to.
...
Actually, I got that code snippet from this web site. But I also tried the first one under the tutorials. I forgot to add that I hit execute and run, which is what confused me, because I was...
MacGyver: I opened a new project, created a filename then typed in the code as shown, as follows:
#include <iostream.h>
int main()
{
cout<<"the Compiler Works";
cin.get();
return 0;
I...
I too am new and trying to learn C++ for fun, however the whole compiler thing has me baffled. I tried to do that quick tutorial on "how do I us a compiler", followed it word for word, but nothing...