Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Re:
Hi, I'm trying a very simple code as below. #include <fstream> #include <iostream> int main() { ofstream myfile; myfile.open ("example.txt"); myfile << "Writing this to a file.n"; myfile.close(); return 0; } But getting following error on myfile.open statement... Debug Assertion Failed! Program: ... File f:spvctoolsicrt_bldself_x86crtsrcopen.c Line 308 Expression: ("Invalid sharing … |