H

closed account (z8qG1hU5)
Nshvwvs
Last edited on
If this is your first program then read basic at http://www.cplusplus.com/doc/tutorial/

If you know the basics, then
- Need to take repeated input from user (keyboard input, loop knowledge)
- Need to validate the word (parsing strings, check whether character is an alphabet)
- Need to keep track of user's turn (flag, conditions)
- Need to store the last character of entered word (knowledge of parsing/accessing characters from strings)
- Compare stored character with first character of next word. (condition statements and character comparison knowledge)
- Print on console (standard output/displaying content)
Please, use code tags when posting code and keep the indentation consistent. See http://www.cplusplus.com/articles/jEywvCM9/
(They make the code much more readable and easier to comment on.)
Topic archived. No new replies allowed.