EDN Admin
Well-known member
Ive been taking a class in C++ for about a month now and have been doing all of my homework using Visual C++ Express 2010, which I downloaded from the Microsoft website. Ever since installing it, Ive been having a lot of problems with it.
The first and most annoying is that many of my programs do not stay open, even when choosing the option to run without debugging. Yes, I know I can remedy this by adding in an extra line of code like cin.get(), but I would like to understand why the
programs wont stay open even though they should. It happens even with the simplest programs, and I dont know if Im doing something wrong or if its the compiler.
Another problem is that Ill often be working on a project and it will run perfectly fine, but then all of a sudden it just wont work any more. Ill rebuild it and get some error, but then if I take the code and copy and paste it into a new project,
it works perfectly again.
I also run into problems sometimes where it says its building the solution, but its really not because I run the program and it doesnt include any changes I may have made. Nothing seems to be able to make it build the new code once this happens,
it merely just sticks with the old one, even though it says its building/re-building/cleaning/whatever else I try.
Am I just doing something wrong? Is there some option I have turned on that may be causing this? Should I reinstall the software? Or are problems like this typical?
Forgive me for whining, but I just dont know how Im supposed to get through this class when I keep encountering these issues.
View the full article
The first and most annoying is that many of my programs do not stay open, even when choosing the option to run without debugging. Yes, I know I can remedy this by adding in an extra line of code like cin.get(), but I would like to understand why the
programs wont stay open even though they should. It happens even with the simplest programs, and I dont know if Im doing something wrong or if its the compiler.
Another problem is that Ill often be working on a project and it will run perfectly fine, but then all of a sudden it just wont work any more. Ill rebuild it and get some error, but then if I take the code and copy and paste it into a new project,
it works perfectly again.
I also run into problems sometimes where it says its building the solution, but its really not because I run the program and it doesnt include any changes I may have made. Nothing seems to be able to make it build the new code once this happens,
it merely just sticks with the old one, even though it says its building/re-building/cleaning/whatever else I try.
Am I just doing something wrong? Is there some option I have turned on that may be causing this? Should I reinstall the software? Or are problems like this typical?
Forgive me for whining, but I just dont know how Im supposed to get through this class when I keep encountering these issues.
View the full article