Igot a simple problem that i've already asked about before
but the answear i got didn't work. I want to open JPEG files
in C and was told to open the file as usual but using binary
like this;
Code:
#include<stdio.h>

main()
{
    
    FILE *ptr;
    
    ptr=fopen("c:\\test.jpeg","rb");
    
    if(ptr==0){
    printf("didnt work");
    getchar();}
    else
    fclose(ptr);
    
    return 0;
}
I know its real easy for you wiz's but i havent found anything
that can answear my simple question!!