It was but for whatever reason, the program was not waiting for input so I went into the FAQ you linked me and used
system ("PAUSE")
after return
it worked this time.
Thank you so much. I...
Type: Posts; User: Aeias
It was but for whatever reason, the program was not waiting for input so I went into the FAQ you linked me and used
system ("PAUSE")
after return
it worked this time.
Thank you so much. I...
I have tried several letters just a few like A,F,C,T
the only one that did something a little different was ctrl+c which just closed the program sooner.
What compiler or IDE do you use?
ok, I was using
char response;
std::cin >> response;
before the return.
However I am getting the same result, I type in some integers, I hit ctrl+z I see ^z in the command prompt. Nothing...
I have done that, however all that appears in the command window is "^z", and if I press enter the program ends. And if I am not selected on the command prompt window, I hear a loud beep noise. I...
I have done that also.
What do you mean by, running the binary?
(sorry Iam very new)
Yes, but for me all ctrl+z dose is undo.
I just don't know what to do, can you explain a little more.
I am just not sure. Maybe it is because I am using MS Visual C++ 2010.
I am new to C++, and I have been reading "C++ Primer, 4th Edition" to help me learn. I do the examples in the book to help me practice. This part of the chapter is covering control structures, but I...