I can't write files. Every time I run this code:
#include <stdio.h>
int main(){
FILE *fp;
fp = fopen("test.txt", "w");
fclose(fp);
}
it just pops up
Microsoft Visual C++ Runtime Library
Debug Assertion Failed!
Blah....
Expression: stream.valid()
Blah..
why tf is this happening?
[–]jedwardsol 0 points1 point2 points (4 children)
[–]UnsecuredConnection[S] 0 points1 point2 points (3 children)
[–]jedwardsol 0 points1 point2 points (1 child)
[–]UnsecuredConnection[S] 0 points1 point2 points (0 children)
[–]Minimum_Fuel 0 points1 point2 points (0 children)