Forum: C++ Feb 27th, 2007 |
| Replies: 4 Views: 1,672 Just glancing at the code, would this modification work?
unsigned int getVolume() {
setVolume();
return Volume;
} |
Forum: C++ Dec 10th, 2006 |
| Replies: 15 Views: 2,979 I had a midterm problem similar to this last year.
The question was
My solution (as a module of the entire midterm program) is as follows:
// Frank C. Jamison
// April 08, 2006 |
Forum: C++ Sep 17th, 2006 |
| Replies: 11 Views: 2,406 Here's the big glaring error I see in your code...
string string;
You can't use "string" as a variable name. |
Forum: C++ Sep 17th, 2006 |
| Replies: 11 Views: 2,406 Ha.! I remember my C++ instructor promising not to give us a bad grade on an assignment if we promised not to use global variables...lol |