I came across something really weird when I wrote a little lotto program in C++ called \"lotto.cpp\". Everything was fine until I wrote the write-to-file for my program. Whe
This is a linker error that states that we cannot write to the 'lotto' file on your computer while compiling. My guess is that either your program is still running, or you accidentally created a directory called 'lotto'. It's possible that your write-to-file function is keeping the application running, or itself tried to create a lotto directory.