<<<<< TERMINAL SCREEN DRAWING SUBROUTINE >>>>>>>>

UTERMINAL

                    TERMINAL                  

NEXT

 $V1$
                                              

PAGETURNER

If they want to quit, do so
    <<<<<< REVIEW CLEANING SUBROUTINE >>>>>>

CLEAN

If they want to quit, do so

BOX




GO

  Please type in the command to produce an
  object file only from the source file:
  prog1.c
 $PROMPT$
 That is correct!
 You've got it on the 2nd try.
 Good, you understand the concept.
 The C compiler command is cc, just add the object file flag.
 The source file is prog1.c and the flag -c.
 Please review Topic 5:  How to Run a C Program
                                       
 $PROMPT$

FORGET1

  The correct answer is cc -c prog1.c.
  Observe the result on the terminal.                        
                                       
 $PROMPT$
 cc -c prog1.c
 prog1.c
 $PROMPT$
  Please type in the command to produce the
  default executable image a.out, from
  the source file prog1.c.
 $PROMPT$
 That is correct!
 You've got it on the 2nd try.
 You've got it finally!
 The C compiler command is cc so add the filename.
 The source file is prog1.c
 Please review Topic 5:  How to Run a C Program
                                        
 $PROMPT$

FORGET2

   The correct answer is cc prog1.c.
   Observe the result on the terminal.                        
                                        
 $PROMPT$
 cc prog1.c
 prog1.c
 $PROMPT$
  Please type in the command to run the
  executable image a.out:
 $PROMPT$
 That is correct!
 You've got it on the second try.
 You've got it finally!
 You need only to specify the file name.
 The file name is a.out.
 Please review Topic 5:  How to Run a C Program.
                                        
 $PROMPT$

FORGET3

   The correct answer is a.out.
   Observe the result on the terminal.            
                                        
 $PROMPT$
 a.out
 This is my 1st C Program!
 $PROMPT$
  Please type in the command to produce an executable 
  image called prog1 from the source file prog1.c:
 $PROMPT$
 That is correct!
 You've got it on the 2nd try.
 You've got it finally.
 The C compiler command is cc, just add a flag.
 The source file is prog1.c, the flag -o 
 and the executable image prog1.
 Please review Topic 5:  How to Run a C Program.
                                        
 $PROMPT$

FORGET4

   The correct answer is cc -o prog1 prog1.c or cc prog1.c -o prog1
   Observe the result on the terminal.            
                                        
 $PROMPT$
 cc -o prog1 prog1.c
 prog1.c
 $PROMPT$
  Please type in the command to change the
  name of the file a.out to myprog.
 $PROMPT$
 That is correct!
 You've got it on the 2nd try.
 You've got it finally.
 The rename a file, under UNIX you move it to a new file name
 the mv command.
 The source file is a.out and the destination file is myprog!
 Please review the mv command!
                                        
 $PROMPT$

FORGET5

  The correct answer is mv a.out myprog 
                                        
 $PROMPT$
 mv a.out myprog
 $PROMPT$