Forum: C Jun 2nd, 2007 |
| Replies: 7 Views: 1,597 What code have you written so far? |
Forum: C May 22nd, 2007 |
| Replies: 2 Views: 2,254 Do you mean 'will the compiler complain' - no.
'Is it a good idea' - Again, probably not.
Reentrant functions should have all of their data passed to them as arguments, and not use global data... |
Forum: C May 16th, 2007 |
| Replies: 23 Views: 13,606 Consider calling stat() to get the filesize first. Open the file, then move the file pointer forward to some arbitrary place.
If you assume no last line is ever longer than say, 200 characters, ... |
Forum: C Mar 13th, 2007 |
| Replies: 6 Views: 1,324 Code caving creates a supplanting vector to user-controlled data sets, and is usually a game hacking technique, it's also used in exploits.
Therefore, it's usually an asm code block.
More than... |
Forum: C Jan 6th, 2006 |
| Replies: 2 Views: 1,144 \\ in literal strings = \ because a single \ "escapes" the next character
"C:\\myfile\\hi.txt" |