Hello Everyone!!!
I have a serious problem. I know this may sound a bit amateurish, but I am really stuck. I have a dynamically allocated array of structures, and have to print it to a file using binary output. The problem is I keep getting a "Stack Exception" error in the "Write(1)...memorey address". Here is my current code:
outbin.write((char *)studRecPtr, sizeof(studRecPtr[loopIt]));
Any help would be highly appreciated. Thank you.



LinkBack URL
About LinkBacks


