IFSM 201
Computer programming
A C++ program.
Download stats.cpp to My Documents.
Start Dev-C++.
Open stats.cpp in it.
"compile" the stats.cpp (i.e. translate the source code to machine
(CPU) language object code).
"run" the successfully compiled program. oops, when the program ends
the command prompt window closes, so
Start a command prompt:
Start | Run | cmd
cd "My Documents" (if not already in My Documents)
stats (run the stats command)
Paste the output of running with this data:
3 2 5 6 7 2 1 78 45 89 88 97 67 59
Paste the output of running with the data in lotsdata.txt
A Java (applet) program.
Download Rosette.java. Save it to My Documents, do not open it from
the browser.
Start JCreator.
Open Rosette.java in it. (make sure the file is Rosette.java.
Internet Explorer might have changed the name to Rosette[1].java)
"compile" it. This creates the Rosette.class file.
An applet can not be directly executed, it must be run in a web
browser or the AppletViewer by being invoked from a HTML file.
Create a new file named yourlastnameRosette.html with these two lines in it:
"execute" the html file. AppletViewer will run the applet.
Open the HTML home page file you made a couple of weeks ago named yourlastname.html
(or get it from the sanchez account at umucaoki.org) and somewhere in the body add:
A cool applet
Test that your web page works (i.e. the link to the applet works).
Upload the yourlastnameRosette.html and yourlastname.html to the
sanchez account at umucaoki.org. A Rosette.class file has already
been uploaded there for everyone to share.