Info on .net

Simple Steps to create a project in .net:

  1. The first time you start up, choose the Visual C++ environment.
    (Remember the folder where your projects are stored so you can find them.)
  2. Start a new project in .net from the "File" menu by choosing "New" ,
    then "Project" to get a choice of project types.
  3. Under "Visual C++" highlight "Win32" and under Templates, choose
    "Win32 Console Application" and below enter a "Name" . Click "OK"
  4. In the "Application Wizard" screen, in the left column, choose "Application Settings"
    ("Overview" may be highlighted) and check "Console application" and "Empty project" .
    Click "Finish"
Now under "Project" in menu, choose "Add New Item" or "Add Existing Item" for your code or data files and enter a file name. An alternative, perhaps easier way, is to right click "Source Files" or "Header Files" or "Resource Files" and use "Add" . Data files are resource files.

From the "Build" menu, compile and link your code using "Build ProjectName" .
Execute ( "Start Without Debugging" ) from the "Debug" menu.

Later, when your programs are more complex, if something odd occurs, files can get corrupted (object code files, not source code files). Under the "Build" menu, "Clean ProjectName" is useful. It removes all files created by compiling and allows you to start over.

Note (for later)
Visual Studio and .net by default don't allow dynamic casting. If you need dynamic casting (e.g., dynamic_cast(theAppleptr) ), you have to enable it in the run-time environment.

To do that, make sure you're looking at the file names, solution explorer view. Then right click on the workspace name (at the top) and choose properties. There's many environment variables. Poke around until you find it. Note all the other things you can change if you desire.

After reading this, "help" should help if you get stuck.