FILE *file;
int c;
char **file_buffer;
file_buffer = (char**)malloc(9*sizeof(char));
for(int x =0;x<9;x++){
file_buffer[x] = (char*)malloc(1*sizeof(char));
...
Type: Posts; User: 'Serj Codito
FILE *file;
int c;
char **file_buffer;
file_buffer = (char**)malloc(9*sizeof(char));
for(int x =0;x<9;x++){
file_buffer[x] = (char*)malloc(1*sizeof(char));
...
Hello guys could you please help me write a piece of code that will read a file char by char and store it into the 2Dimensional array pointer using "File Pointer"?
Here's my file:
0.2.0 9.4.7 0.0.0...