The purpose of this assignment is to make sure that you can follow instructions, login to a Linux system, compile a C++ program, and check in homework. This way, you’re sure that your login and password work before you need them for homework #1. This assignment is not optional.                 
In this assignment, you will write a program called bulb.cc
.
It will answer the question,
“How many CU students does it take to change a light bulb?”
                
In the following example, user input looks like this. The percent sign, “%”, is my shell prompt.                 
% g++ -Wall bulb.cc % ./a.out Three—one to hold the light bulb and two to turn the ladder! %
(Joke copied from Wikipedia.)                 
bulb.cc
.
Use web checkin, or Linux checkin:                 
~cs253/bin/checkin HW0 bulb.cc
Turn in someone else’s work.                 
Modified: 2017-01-30T19:29                  User: Guest                  Check: HTML CSSEdit History Source |
Apply to CSU |
Contact CSU |
Disclaimer |
Equal Opportunity Colorado State University, Fort Collins, CO 80523 USA © 2015 Colorado State University |