Visual Studio Help - Hints and Suggestions
- While working on your project in the LRC use the C:\Temp directory for
all of your work.
- Before strating your work delete all of the files in the C:\Temp
directory. Nothing in this directory is permanently saved.
- While working on your project do not try to create and run your project from your floppy
disk drive (normally Drive A:). It will be much too slow and you may not have the
space to run from your diskette.
- While working on your project do not try to create and run your project from your
personal (student) directory space on Civil2. If you try to create
and run your project from Civil2 directory space, it will be quite slow
because the directory space is on another computer and all information must be sent and
received across the network.
- When you are done save your program and other important files to both your
diskette (normally Drive A) and your directory space on the Civil2
file server. Be sure you have saved your files before logging off the computers in
the LRC.
- Delete any of your work and files from the local C:\Temp directory
before logging off and leaving the LRC. Be sure to save your work on your diskette
and in your directory space on Civil2 before deleting work in the C:\Temp
directory space.
If your program seems to be missing files or you have problems
running your program in Visual Studio once you have eliminated all of the coding (syntax)
errors, try the following steps:
- Save the file that contains your computer program/computer code (the files with the
extension "c", e. g. MyProgram.c).
- Choose Close Workspace from the File menu in Visual
Studio /or/ quit Visual Studio altogether by choosing Exit from the File
menu.
- If you quit Visual Studio, start Visual Studio again.
- Open the program file(s) that you saved, e. g. MyProgram.c,
using Open from the File menu. You should open the
files that contain the C code that you have written and saved.
- Build your program by choosing the Build MyProgram.exe
item from the Build menu. ("MyProgram"
represents the name that you have chosen for your C code file. For example if you
named your C code file Lab1.c, you will choose Build Lab1.exe
from the Build menu to build your program).
- At this point your program should build correctly if your C code is free of syntax
errors.
- To run your program once it has built correctly, choose Execute MyProgram.exe
from the Build menu (Again, "MyProgram"
represents the name that you chose for your C code file.)
Wright | CE311K
| Civil Engineering | UT Austin