Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct dict{
- string word;
- };
- dict words[5];
- words[0].word='abc';
- words[1].word='bcd';
- words[2].word='cde';
- words[3].word='def';
- words[4].word='efg';
- cin.getline(user_input, 100); //user_input is char array
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement