Skip to content
Snippets Groups Projects
Commit 02a6e840 authored by Daniel Olsson's avatar Daniel Olsson
Browse files

Removed print still has errors

parent 30c5956d
No related branches found
No related tags found
No related merge requests found
......@@ -28,12 +28,10 @@ int main(int argc, char **argv)
printf("File cannot be open \n" );
return 0;
}
printf("Hej\n" );
while (!feof(fin)) {
getline(line, fin);
lines[cur] = (char*) malloc(strlen(line));
strcpy(lines[cur], line);
printf("%d\n",cur );
cur++;
}
fclose(fin);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment