Search found 3 matches
- Mon Oct 15, 2007 5:08 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10142 - Australian Voting
- Replies: 82
- Views: 33253
Bug
There an error in this loop: Check the EOF flag and array limits; Are you using a UNIX-like environment? while(tmp[0] != 0) { j = 0; no = strtok(tmp, " "); sscanf(no, "%d", &votos[c][j++]); for (; j < i; j++) { no = strtok(NULL, " "); sscanf(no, "%d", &...
- Sat Oct 13, 2007 3:56 am
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 41832
Solved!
I finally made it!!! Some considerations about this problem: - X 0001 should print 1 - X 0000 should print 0 - 0 N should finish execution only if N is 0 (important) - Probably there are white spaces between numbers and/or before the new line in the input; - Make sure that you are printing a blank c...
- Fri Oct 12, 2007 8:00 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 41832
WA also...
Please Help! I'm getting a WA also... My program seens alright... Did a lot of testing and couldn't find any error; - I'm considering leading zeros (printing them) - I'm printing the blank columns between digits - I'm also printing new lines after the numbers - I've read in a topic that printing two...