D
Dan
Greetings:
I was trying to read in a file using C, and I got a strange error, compling
it in gcc for Solaris:
Code segment:
#include <stdio.h>
#include <stdlib.h>
.
.
.
FILE *file;
char temp[10];
file = fopen("filelist.txt", "r");
int i = 0;
.
.
.
End Code segment
I got a message saying something along the lines of '(87) parse error before
int'. Anybody have any ideas as to what could be wrong?
Thanks,
Daniel
I was trying to read in a file using C, and I got a strange error, compling
it in gcc for Solaris:
Code segment:
#include <stdio.h>
#include <stdlib.h>
.
.
.
FILE *file;
char temp[10];
file = fopen("filelist.txt", "r");
int i = 0;
.
.
.
End Code segment
I got a message saying something along the lines of '(87) parse error before
int'. Anybody have any ideas as to what could be wrong?
Thanks,
Daniel