| BUT WHY IS THERE NO RUN PROGRAM Where do I go to RUN THE PROGRAM |
|
Try the Debug menu. Debug | Start (or F5) to start running the program in the de****. Debug | Start Without Debugging (or Ctrl-F5) to run without the de****.
2. I'm getting the cannot compile with the /clr option. I don't know how I triggered it. |
|
Visual C++ can generate either native code (Intel x86 operators) or managed code (MSIL). The /clr switch tells the compiler to generate managed code suitable for execution within the Common Language Runtime. Either you've set the /clr switch when you did not mean to or else you've used some C++ construct incompatible with the /clr switch.
If you are not trying to create managed code use Project | Properties | Configuration properties | General to change the "Common Language Runtime support" setting from "Common Language Runtime Support (/clr)" to "No Common Language Runtime Support".
If you are trying to genrate manage code then you need to determine what it is that is incompatible with the /clr switch. You can find a list of the /clr restrictions here: http://www.hide-link.com/
Generally the compile time error message will provide some specific detail or at least a file name and line number. If you post the complete error message and the associated line of code someone may be able to suggest an alternative.
|