That doesn't work for obvious reasons, char only holds one character. What can I use so it can hold words (I've tried string that doesn't work).
Second,
How can I add a word to a string without replacing the whole thing.
1 2
string Stringname;
Stringname = 'abc';
Assigns 'abc' to Stringname, how can I add 'xyz' to the string without replacing the previous 'abc'.
Lastly,
I'm sending 10 random words to a file, but since it's random usually 2 words pop up twice, how can I send words to a file but not send it if that word has already been sent.
I've tried quite a few things to do this but nothing has seemed to work so far.
___
I'm not in a programming class, don't worry about doing my homework. Just hand me some code snippets and I'll be just fine.