This Forum has helped me very much in understanding different solutions in C-language . Before I post my query i would like to thank everyone for there help in the past.
I have a text file say "input.txt" which contains a table in the following form
NAME LVL OCCURS TYPE SCOPE LENGTH DEC BYTES
0YDFSE 01 CHA GLOBAL 172 172
1DERSW 05 5 NUM LOCAL 72 4 100
Now, my question is can i read the contents of the table into a structure and will i be able to print these contents in desired form in another file say "output.txt"
LVL NAME OCCURS DEC
05 1DERSW 5 4
Also, Can we read the spaces under the 1st row of occurs and store in a structure variable say struct.occurs.
I am really confused how to approach this.
Your Help would make me the happiest man! Please suggest!.