ruwolf
Can I ask You 2 questions :
1 - Why compiled program whether be true or have bug prints 1 free space on each line after the first line
2 - If I want to read 4 bytes and declare unsigned int n = 0 and then fread(&n, 4, 1, fp); it wouldn't read 4 bytes of the file ; and give random numbers again .... I tested the numbers it gives and are not 4 bytes of numbers in an example of JPEG file
Can I ask You 2 questions :
1 - Why compiled program whether be true or have bug prints 1 free space on each line after the first line
2 - If I want to read 4 bytes and declare unsigned int n = 0 and then fread(&n, 4, 1, fp); it wouldn't read 4 bytes of the file ; and give random numbers again .... I tested the numbers it gives and are not 4 bytes of numbers in an example of JPEG file
Statistics: Posted by Hadi_Lovelorn — 2024-05-31 20:42