Search:

Type: Posts; User: brunion

Search: Search took 0.01 seconds.

  1. So, it would look similar to? void...

    So, it would look similar to?

    void StudentType::printData(std::cout& out) const

    Never worked with ostream before.
  2. That's what I would have preferred to have done,...

    That's what I would have preferred to have done, but the professor asked us to do it like so:

    StudentType
    -name: string
    -grades: int[NUM_GRADES]
    -average: float
    +StudentType()...
  3. Based off some info I found on one of the...

    Based off some info I found on one of the tutorials, I simply declared it above as:

    fstream out;

    And it compiled perfectly, would that have been appropriate?
  4. Problem with ostream, error: "undefined symbol 'out' in function main"

    This program is our first using classes, and I cannot figure out a compiler error. Any help is really appreciated, as this may decide whether I pass the class. :-/

    The program is designed to input...
Results 1 to 4 of 4