Nothing happens..
In the point where I marked *, the execution shifts to somewhere else..In the Debugger's log, it shows
"In __cxa_throw () ()", In the watch window it shows file = <incomplete type>.
And nothing is read from the file..
Please help.
I was asking where in your code is the structure defined. Anyway, in your file.read() does the file contain 18 keymaps? On the line before that, did the file open OK?
That structure is defined inside a class. I know that its not the problem with the structure. And yes the file do contains 18 keymaps. file.good() returned 1. Thanks in advance
Can post my code,, except that it is more than 2000 lines.. :((,, I think i will now resort to my old method using stdio.h's fread method. Thanks kooth..