Quote Originally Posted by memcpy View Post
Looks good, but a couple tips..: - Indent/returns. No one likes reading one huge strip of code, even if it wasn't your fault. - Instead of having a huge lookup table for all of the values, it's easier to pick a random number between 30 ('0') and 122 ('z'), and use that to fill your file. For reference on the numbers that correspond to letters: Ascii Table - ASCII character codes and html, octal, hex and decimal chart conversion - Make the file-size customizable on all of its dimensions. #defines or interpreting command-line arguments are the best ways to do this.
The only one i understand is the first one and i fixed that.