CSCI 1300 Computer Science 1: Programming
Spring 2004
Karl Winklmann
|
|
News archive |
|
Thank you
Thanks everybody for putting in a lot of work during the semester. A special thanks to people who did demos in class.
Demos
Here are the titles of the demos to be shown this week and next: Ideal Gas Diffusion, Spanish-English Translation Game, Nuclear Reactor Simulation, Battle Tanks, Automatic Music Translator, Ultra-Pong 6: The Destructor, Tree Growth, Solar Heating Simulation, Network Design, Five-Card Draw Poker, AsteroidsKnockoff, Fireworks, Brittney's Garden, Lunar Lander++, Hyperball, Blinko Game, Pirates, Solitaire, Asteroids Deathmatch, Tetris, Star War Game, Ping Ball, FallDown, JumpAcross, Riemann Sums, Elevator Simulations, Dictator Pong, Crazy Golf Cart, Skiing, Merlin's Wisdom.
Special Topic Lecture Thursday, April 15
I'll cover some computer science material on Thursday that is not normally covered in CSCI 1300. I'll describe a programming assignment which doesn't look all that difficult but if you can do it, will earn you $1M.
Please also note the news item below about demos and course evaluation.
Project demos
We'll do in-class demos starting Tuesday, April 20. We'll also do the course evaluation on that day; please show up if you can, your input is much appreciated.
Anyone who does an in-class demo by Tuesday, April 27, will have any late penalties on the project waived.
If you are planning to do a demo send me email with a project title and a proposed date. Let me know if you need to use my laptop and if so, how your program is going to get copied onto it (floppy, zip, usb memory, web, ... ).
Demos will be judged by the audience (I'll bring ballot sheets). We'll have separate competitions for people who had never programmed before and those who had. The winner in each category will earn a $64 gift certificate for the bookstore, the runner-up $32, and of course instant fame.
Project descriptions / points to be earned
You'll get your project descriptions back this week, with feedback on how many points out of those 300 your described project would earn.
Please note that those points are subject to your program being well written. E.g., there need to be implementations of classes that fit the problem, things need to be broken up well into separate files, function and variable names need to make sense.
Travis' hours
Tuesday April 13 not available until after 3:00
Thursday April 15 must leave promptly at 3:00
Thursday April 22 must leave promptly at 3:00
Michael Howe can't hold office hours
today (Monday , March 29).The 3D example from Thursday before Spring Break is posted.
Submission of Assignment 4
Please submit a single tar file called assign4.tar. One of the files that it needs to contain needs to be named Makefile (which that exact capitalization). You can use the Makefile from the minesweeper example as a starting point, adjusting it to fit your files.
Travis can't come to the lab until 3:30 on Tuesday, March 9
That's for that one day only.
Robert's lab hours from now on in ECCR 239 (not ECCR 244)
[Correction added later: It's ECCR 239 on Tuesdays, but still ECCR 244 on Wednesdays.]SliderBar example from class
is posted. Here are some fixes, extensions, useful exercises ...
I will explain in class next time how to choose which slider bar reacts to the mouse.
Examples of a class from Tuesday
These are posted, look under Programs below.
Please make sure you are on one TA's class list
Please make sure in tomorrow's recitation, or by email if you have to miss that recitation, that you are on your TA's classlist. You need to have one TA on whose classlist your name shows up. That's the TA who will grade your programs.
Submitting Assignment 3
Submit a single file named assign3.tar. To create that file, have in a directory a file called main.cxx and any image files you are using. Do not have any .o or .exe files. Then do
tar cvf assign3.tar .
Changes in Karl's office hours
Sorry about the change, but for the rest of the semester my office hours need to be Thursdays 11-noon and Fridays 10-11.
Karl W.
NO LECTURE THIS THURSDAY (FEB 19)
I apologize but I do have to be out of town unexpectedly. As posted earlier I can't hold my office hours this week either.
Karl W.
No office hours this week
Sorry about the inconvenience but I cannot make my office hours this week.
Karl W.
Travis available for help Tuesdays and Thursdays
Travis will be available in ECCR 239 Tuesdays and Thursdays, for the class periods starting at 2:00 and 3:30, provided anyone sends him an email the preceding evening. You need to indicate the time you expect to arrive in the lab. If he doesn't receive any emails he will not come to the computer lab.
Exercises about clicking and dragging
are posted.
An alternative to using Makefiles
If you put these lines into a file name R.BAT
cls
if EXIST main.exe DEL main.exe
if EXIST main.o DEL main.o
if EXIST main.cxx g++ -g -c -Wall main.cxx
if EXIST main.o bgi++ -o main.exe main.o
if EXIST main.exe main
then typing
r
in the command window will re-compile
your main.cxx and run it (unless there are
compiler errors).
If your program isn't called main.cxx you could instead use these lines
cls
if EXIST %1.exe DEL %1.exe
if EXIST %1.o DEL %1.o
if EXIST %1.cxx g++ -g -c -Wall %1.cxx
if EXIST %1.o bgi++ -o %1.exe %1.o
if EXIST %1.exe %1
and then type
r assign2
or whatever name you gave to the program that does Assignment 2.
Reminder: TA hours
are posted below.
Sample programs, exercises
Posted are the array shuffling and sorting example done on Tuesday, exercises about arrays, and the OneMouseTwoIcons example that is to be discussed on Thursday.
More help in the labs
Barry Weiss is also available ... he can probably establish office hours on Monday and/or Wednesday at 11AM in ECCR-239. You should send him email by 6pm Sunday and/or Tuesday evening to assure that he can be there.
Help in the labs
Travis Presley is available to help people get over any initial difficulties. He can be reached by email. Tomorrow (Tuesday, February 10) he will be in ECCR 239 at 3:30. Please send him email if you plan to be there.
The array program from
Thursday, February 5, is posted.
SHH Client for Window
For Jared's recitations: The SSH client software he mentioned can be downlaoded from ftp://ftp.ssh.com/pub/ssh/SSHSecureShellClient-3.2.9.exe.
As usual, some exercises to check your progress
Again, these are meant to let you check if you are where you should be at this point.
MSDOS and Emacs commands
The links near the top of each page now contain links to pages with MSDOS and Emacs commands.How to submit your assignments
Please submit your assignments to Dora. For Assignment 1 please submit one file named main.cxx.Example from Thursday: Handling keyboard events
Loop programming example from class
This is now posted, exactly as it looked at the end of class (i.e., less than perfect). We'll add some more things to it next time. Follow the “Programs” link below.
Programming examples from class
These are stored at the “Programs” link just below the title and date on each page.
| © 2004 Karl Winklmann | 5:53 PM, Thursday, April 29, 2004 |