Verifying Installation

  1. Download VerifyVc08.zip and extract it to a directory of your choosing. Open the newly extracted folder and double click VerifyVc08.vcproj.
  2. Inside Visual C++, go to Build -> Build Solution (F7). Look for the Output window, which can be found at View -> Output. If the build succeeds, go to the next step. If not, some common errors and their solutions are:

    fatal error C1083: Cannot open include file: 'getopt.h': No such file or directory
    Make sure that getopt.h can be found at the location specified in the Include Files search path. See step 10 for adding directories to the include files search path.
    LINK : fatal error LNK1104: cannot open file 'getoptd.lib'
    Make sure that getoptd.lib can be found at the location specified in the Library Files search path. See step 11 for adding directories to the library files search path.
  3. In the Solution Explorer, right click on VerifyVc08 and go to Properties.

    If the Solution Explorer is not already open, go to View -> Solution Explorer.
  4. In the left tree, expand Configuration Properties -> Debugging.

    In the Command Arguments textfield, type -x and click OK.
  5. Run the project by going to Debug -> Start without Debugging (Ctrl + F5).
  6. The program should display a message indicating that getopt was configured correctly. Enter your name when prompted to do so, and press enter.

Congratulations, you have successfully installed Visual C++ 2008 Express Edition! Please proceed to the next guide,
Using Visual C++ for CSE 12 Homeworks