Thursday, December 15, 2011

Is it possible to allocate over 650000 byte memory in c-programming language.?

i want to open one binary file that contain 650000 data(12 bit form one data that must be saved in one variable) how i can do this?|||unsigned char* buffer;





buffer = (unsigned char*)malloc(sizeof(unsigned char)*650000 );





//do stuff with it





//release it when you're done


free(buffer);

No comments:

Post a Comment