Forum: C Aug 16th, 2008 |
| Replies: 2 Views: 380 break from the inner loop and then continue from the outer loop. If there's more to the body, you may need a flag or something similar:
while (condition) {
int nextIteration = 0;
while... |
Forum: C May 15th, 2008 |
| Replies: 3 Views: 3,052 fgets reads a single line of characters, but fread reads a block of unidentified objects. fgets uses '\n' as a delimiter, but fread doesn't inspect any of the objects so it relies on a limit of the... |
Forum: C May 7th, 2008 |
| Replies: 4 Views: 721 > I found the problem thanks to your example!
Woohoo! :) Just remember that sprintf and sscanf are exactly the same as fprintf and fscanf except they use strings instead of files. That's how Ed... |