Search:

Type: Posts; User: nonoob

Search: Search took 0.04 seconds.

  1. Replies
    24
    Views
    31,718

    You should not be doing an fread() before...

    You should not be doing an fread() before checking whether the file opened.
  2. Replies
    24
    Views
    31,718

    You shouldn't use 'int' in the structs. The BMP...

    You shouldn't use 'int' in the structs. The BMP file specification says dword which means 32 bit. It's better to use 'long' because 'int' may have different sizes depending on platform.
    Also you...
Results 1 to 2 of 2