CIS 067 Section 1

HOW TO DO SOME BASIC THINGS
IN THE LAB ROOM

Note: The sequences of letters shown below (such as F --> D --> E --> A) are intended as a map of the sequence of menu options to choose once the SABER menu system comes up. You simply step from one menu to the next selecting the letter indicated in the order shown. If you have any problems with any of this let me or the lab assistant know. Thanks.

1. STEPS TO CHANGE PASSWORD:

F --> D --> E --> A --> USER INFORMATION ..

.. --> CHOOSE YOUR USER NAME --> CHANGE PASSWORD ..

.. --> ENTER OLD PASSWORD --> ENTER A NEW PASSWORD ..

.. (MIN LENGTH 6 MAX 8) --> RETYPE NEW PASSWORD

RETRACE TO REACH WINDOWS FROM THIS POINT:

HIT ESC KEY 3 TIMES --> CHOOSE YES --> HIT ESC ONCE ..

.. --> CHOOSE OPTION B

2. STEPS TO REACH WINDOWS

F --> D --> B

3. TO ACCESS E-MAIL ACCOUNT

REACH WINDOWS MAIN MENU (PROGRAM MANAGER WINDOW) USING THE STEPS INDICATED IN (2)

DOUBLE CLICK LAN WORK PLACE ICON --> DOUBLE CLICK TELNET ICON ..

.. --> SESSION NAME: TYPE THUNDER (OR NIMBUS) (OR ASTRO) ..

.. --> CLICK OK --> ENTER USER NAME --> ENTER PASSWORD

4. TO ACCESS NETSCAPE

REACH WINDOWS MAIN MENU (PROGRAM MANAGER WINDOW) USING THE STEPS INDICATED IN (2)

DOUBLE CLICK TCP/IP APPLICATIONS ICON --> DOUBLE CLICK NETSCAPE

5. TO ACCESS BORLAND C++

REACH WINDOWS MAIN MENU (PROGRAM MANAGER WINDOW) USING THE STEPS INDICATED IN (2)

DOUBLE CLICK BORLAND C++ 4.O ICON --> DOUBLE CLICK BORLAND C++

6. TO SAVE A FILE

CHOOSE FILE ON THE MENU --> CHOOSE SAVE AS ..

.. --> FILE NAME WILL BE:

FOR SAVING IN THE NETWORK:

G:\<FILE NAME> WITHOUT "<" AND ">"

FOR SAVING INTO A FLOPPY:

A:\<FILE NAME> WITHOUT "<" AND ">"

7. TO OPEN A FILE

CHOOSE FILE --> CHOOSE OPEN FILE ..

FOR OPENING A FILE FROM THE NETWORK:

G:\<FILE NAME> WITHOUT "<" AND ">"

FOR OPENING A FILE FROM THE FLOPPY:

A:\<FILE NAME> WITHOUT "<" AND ">"

8. TO RUN A C++ PROGRAM

CHOOSE DEBUG FROM MAIN MENU --> CHOOSE RUN

9. TO PRINT THE SOURCE CODE

CHOOSE FILE FROM MAIN MENU --> CHOOSE PRINT

10. TO SAVE THE EXECUTION OF A PROGRAM AND PRINT IT ..

Life will be a lot easier on all of us if we use the DOS version of Borland C++. To get to this version, follow the menu selection

F --> D --> A --> A --> A

At this point you should be in familiar terrritory. Enter your program, compile it, and test it to be sure it works OK. Once the program works, you will have an executable file (with a .exe extension) for it as well. Now pull down the FILE menu and select the DOS SHELL option.

You should then get a prompt that looks something like:
C:\BC3>

At this point you can run your program interactively one more time to be sure it works. Be sure that you note on paper all the data that you type in during the programs execution. (To execute the program at the above prompt, simply type in the name of the executable -- e.g.,

myprog.exe

Now create an input file (which I will call myinp.dat) containing all the input you had entered interactively). The rerun your program by typing (again at the above prompt)

myprog.exe < myinp.dat > myoutp.dat

Note that "<" and ">" are nescessary.

This will execute your program taking the input from the file myinp.dat and directing the output to the file myoutp.dat. (This is called redirection of input and output.)

When your program has finished executing, you will be at the above prompt. Now type

NPRINT fn /q=laser_01

where fn is the name of the file to be printed. You will probably want to print myinp.dat and myoutp.dat and possibly your source file as well.

That’s it. FLF