Forum: C Oct 23rd, 2009 |
| Replies: 10 Views: 868 This code is the same as you had. Just re-arranged a little.
I moved the sentence check first to catch the next non dot. The way it was (after the space skip) made it impossible to tell between the... |
Forum: C Oct 13th, 2009 |
| Replies: 14 Views: 504 In the case of zero sized array, it was generally used as an easy way to index into a variable sized buffer ...
struct Header {
DWORD dwMagic;
DWORD dwSize;
BYTE data[];
};
... |
Forum: C Oct 9th, 2009 |
| Replies: 8 Views: 711 You can do this without the 'if' checks and with 2 nested for loops.
Break your problem up to it's smallest pieces and choose a path that solves the pieces with the least redundancy.
Smallest... |