Forum: C++ Dec 2nd, 2007 |
| Replies: 1 Views: 462 I'm having trouble writing a function that searches through an array of structures for a string value.
The structure looks like this:
struct Computer{
string Model;
string Brand;
... |
Forum: C++ Oct 30th, 2007 |
| Replies: 6 Views: 5,140 yea it's outside the scope of my assigment. Still trying to figure it all out |
Forum: C++ Oct 29th, 2007 |
| Replies: 6 Views: 5,140 Only problem is I can't use maps or any of that fancy jazz.
I think I might be able to use parallel arrays to store the strings and enums. How exactly would I go about that?? |
Forum: C++ Oct 29th, 2007 |
| Replies: 6 Views: 5,140 I'm having a lot of trouble designing a switch statement that can take a string value I have to read from an input file and matching it up with an enum value using a switch statement so I can ... |
Forum: C++ Oct 15th, 2007 |
| Replies: 2 Views: 1,902 I have this program for computing an individual's cable bill, then summing each column of values and calculating the average of each column. I got a 100 on the assignment, the program works fine,... |