Search found 1 match
- Thu Aug 08, 2013 2:11 am
- Forum: Volume 114 (11400-11499)
- Topic: 11402 - Ahoy, Pirates!
- Replies: 45
- Views: 25116
Re: 11402 - Ahoy, Pirates
Both of your versions, and i think a lot of others', are coded with the same mistake: you don't get the newline character between the number of repetitions of the binary string and the string itself. After getting the number of repetitions, use a double getline(cin, str), where str is the variable ...