Advertisement
Guest User

Untitled

a guest
May 6th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. struct dict{
  2. string word;
  3. };
  4. dict words[5];
  5. words[0].word='abc';
  6. words[1].word='bcd';
  7. words[2].word='cde';
  8. words[3].word='def';
  9. words[4].word='efg';
  10.  
  11. cin.getline(user_input, 100); //user_input is char array
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement