##VS Code Error

5 messages · Page 1 of 1 (latest)

ruby iris
#

-> error: 'for' loop initial declarations are only allowed in C99 mode
-> error opening input.txt file(whenever i work with FILE 's)
Help me how to solve these 2 errors!!!!

wooden knollBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

topaz sequoia
#
  • Change your lang standard. Should be somewhere in your project preference.

  • start by checking errno to get the exact reason for such failure (use perror if you have no idea what errno is or how to work with it)

wooden knollBOT
#

This question is being automatically marked as stale.
If your question has been answered, type !solved.
If your question is not answered feel free to bump the post or re-ask.
Take a look at !howto ask for tips on improving your question.

ruby iris