Difference between revisions of "CSC111 Final Exam 2015"

From dftwiki3
Jump to: navigation, search
Line 177: Line 177:
 
==Format of the File==
 
==Format of the File==
 
<br />
 
<br />
* The file provided to you, and which will be used to test your program, are illustrated by this simple example.
+
* The format of the file provided to you and used to test your program, is illustrated by this simple example.
 
   
 
   
 
  ----
 
  ----
Line 219: Line 219:
 
==Requirements==
 
==Requirements==
 
<br />
 
<br />
 +
* Make your prompt "Filename? " when the program asks the user for a file name.  This will make it easier to test your program.
 
* Make sure your program contains a '''main()''' function, and that the execution starts with main, with this code, which should be the last 2 lines of your program:
 
* Make sure your program contains a '''main()''' function, and that the execution starts with main, with this code, which should be the last 2 lines of your program:
 
<br />
 
<br />

Revision as of 10:38, 30 April 2015


...