I have to read text file which has data in following manner,
2345 zxc 123344 abchfdfdfdg
I need to read fixed length and store same into variable,
Say first 6 character, then next 5 and so on&
This will also include spaces.
Whats the best way to do this??
Is fgetc is right way to do this?
Thanks in advance.