![]() |
Sementation fault dealing with files
Hi i am quite new to C.Wanted help on a segmenation fault in the foll program >>
Am simply trying to read file contents into variables defined in struct data Code:
#include<stdio.h>9.65 75.58 9 5 2002 282.68 129 E 1 10.08 75.43 24 5 2002 261.08 144 E 2 10.08 75.45 13 6 2002 233.84 164 E 3 10.20 75.70 14 6 2002 262.54 165 E 3 10.12 75.25 3 7 2002 236.79 184 E 4 10.05 75.65 7 7 2002 99.99 188 E 4 10.00 75.83 22 7 2002 99.99 203 E 5 and it continues for some lines below the same way,,, Kindly help me out ! |
Re: Sementation fault dealing with files
Duplicate of Segmentation fault in C program. Thread closed. Please do not create the same thread over and over again
|
| All times are GMT +5.5. The time now is 09:31. |