Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Algorithms and flowcharts (Yet another C++ assignment).
#17
Okay so, ch being uninitialized is making this not work, how should it be initialized?

Also I should move on to the next function...

Code:
// Initialize SENTENCE record to contain empty strings.
void InitializeLine(SENTENCE & Line);

I feel really dumb, I'm just staring at this and got no idea on what to do here.

A record that contains empty strings, would that be something along the lines of...

Code:
SENTENCE Empty = {"", "", "", "", "", "", "", ""};

Or do I just literally leave the space between curly braces blank?

... I'm probably misunderstanding this again because I'm not sure where Line comes in.
Reply


Messages In This Thread
Algorithms and flowcharts (Yet another C++ assignment). - by MariettaRC - 2013-09-25, 07:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)