- Mar 22, 2004
- 138
- 0
- 0
Hey guys, I'm very new to the whole c++ programming and I just started my intro course at MSU. I ran across the following problem...
Everytime I run my program inside of VS, it runs perfect. But then when I go and actually find the .exe file that is created after you build and compile the .cpp file, it runs the first line but then when it gets to a question where you have to input something and hit enter, it automatically exits the command window.
Does anyone know why it keeps doing this?! Thanks a lot
Everytime I run my program inside of VS, it runs perfect. But then when I go and actually find the .exe file that is created after you build and compile the .cpp file, it runs the first line but then when it gets to a question where you have to input something and hit enter, it automatically exits the command window.
Does anyone know why it keeps doing this?! Thanks a lot
