2013-09-25, 07:57 PM
MariaColette Wrote:Okay so, ch being uninitialized is making this not work, how should it be initialized?
Where is it complaining about ch not being initialized? Could you have missed copying a line that gives it a value? Or did you change my "do {} while ()" loop into a "while () {}" loop?
Quote: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.
Code:
SENTENCE Empty = {"", "", "", "", "", "", "", ""};
Line = Empty;
