On VS 2010 C++ Express
I am getting an error and my solution won't compile.
Here's what happens:
I don't do anything else. No saving, no waiting. I wrote down what I did exactly when I did it. I've repeated this many times, and it still won't work.
Am I forgetting to add another file to my solution to help it compile? I didn't change the time, like others have said might affect it. It is on my harddrive, so it's a fresh project.
Other Questions that Haven't Helped Me:
The default VS settings are not entirely compatible with your desired one-click-does-all usage. C++ programmers normally favor building the program explicitly. Use Build + Build or press the shortcut keys for that command.
You can change that. Use Tools + Options, Projects and Solutions, Build and Run. Note the "On Run, when projects are out of date" setting. Change it to "Always build". The one below that is best changed to "Do not launch".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.