I’m trying to write to an output file while testing my robot code. However, though the test runs successfully, no file gets created (or, if the file already exists, nothing is written). However, when I try the same thing in a normal C++ file and run it, the output file is created and written to. What am I doing wrong?
FRC main.cpp test code:
Plain (working) C++ code: