Windows NT Lab Guide
Steinman 405
World Wide Web browsing
-
Web pages can be viewed by starting up Netscape Navigator from the Start
menu (Start -> Programs -> Netscape Communicator -> Netscape Navigator).
Email
-
E-mail cannot be read or sent in the lab using Netscape Mail (at least
not easily). Use your Unix account for mail.
-
You can log in to your Unix account using Telnet (Start -> Programs ->
Accessories -> Telnet). In Telnet, connect to a random Unix machine (in
NAC 7/105) with Connect -> Remote System; enter host name csultra.
Refer to this
Unix page
to proceed from there.
How to Log In to the PC
- Log in with username `student', password `student'.
C/C++ Programming
- In this course, you may use any C/C++ compiler available to you.
Under the Windows environment, compilers by Microsoft are the most popular.
- On the NT machines in Steinman 405, use the Microsoft Visual C++ compiler.
Do not use Borland 4.52 or 5.02 in the lab (there's something wrong with the way
Borland 5.02 was installed there).
- Refer to the Microsoft Visual C++ section below for a brief guide into
its use. Appendix 2 at the end of the CSc 102 course notes gives a brief
tutorial.
- Remember to bring a diskette (floppy disk) to save your work.
Your work will only last on the machine for the duration of your session.
MS Visual C++:
-
To create a project in Visual C++: Under File menu, select New.
-
In the box that pops up:
-
Type a file name in the Project name field.
-
Type `C:\temp' in the Location field.
-
Select "Win32 Console Application" from the project list.
-
Finish specifying your project by clicking OK.
-
Again under File menu, select New.
-
From the file types listed, select "C++ source file".
-
Type a file name in the file name field and click OK.
- To print your program output:
-
After building the .exe file from your project, find the executable file.
-
Go to the Start -> Programs -> MS-DOS prompt.
You will get a window with the C:\windows> prompt.
-
Change your directory to the location in which your project resides.
For example: if you have created a directory for this course (e.g., C:\cs102),
and you've made a project with filename "hw1" then your executable is under
C:\cs102\hw1\debug\hw1.exe.
-
Type the following commands to get the output:
- cd c:\cs102\hw1\debug
- hw1.exe > temp.txt
-
Your output has been saved in file temp.txt.
-
You may view or edit the file in any text editor (e.g., notepad) and print it.
George Wolberg, Aug. 28, 2000