Hi,
In order to properly assist you with this concern, we highly recommend that you post your query on the Microsoft Developer Network. They are more knowledgeable to this kind of discussions.
Feel free to post again if you have other concerns.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Microsoft Visual C++ Runtime Library
Debug Assertion Failed!
Program:
C:\Users\Matthew\Documents\project\homework\debug\homework.exe
File:minkernel\crts\ucrt\src\appcrt\stdio\fgets.cpp
Line: 33
Expression: stream.valid()
For information on how your program can cause an asssertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Abort Retry Ignore
That windows pops in every time i try to run my program in Visualstudio 2017. I would like to read a txt file in but this is always mess up my program. Any idea how to prevent it? (my txt file is in the same file with the source.c)
Moved from: Microsoft Education / Windows 10 / Security and privacy
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi,
In order to properly assist you with this concern, we highly recommend that you post your query on the Microsoft Developer Network. They are more knowledgeable to this kind of discussions.
Feel free to post again if you have other concerns.