I run a completely working project in C ++ and press f9 or compile and execute, and the project is not compiled, I go to that folder, and there the application is working, I change the name to English and everything is compiled, the question is: what's the catch?

  • You can clarify - change the name of what to English? And also - what kind of compiler are you using? - Stas Litvinenko
  • The name of the application itself, for example: Project1 on Project1.Virt compiler with ++ 4.9.9.2. The application after this was compiled. - included Dimo
  • A file Project1.exe, which was compiled before this accidentally not running? + Give the full log of the compilation error - Alex Kapustin
  • EMNIP in dev with ++ mingw compiler - insolor
  • As far as I remember, in the maiden compiler gcc - skegg

2 answers 2

Did you initially write the name of the application in Russian? If so, then maybe the environment simply does not support Cyrillic.

  • it does not support the Cyrillic alphabet, but it compiles the file, albeit with a name like this:% ;? W? W?:?
  • ¦ЯЮхъЄЄ this is project1 - included dimo

The problem seems to be in the environment. Maybe it is written for utf-8, and you have cp-1251 (or something like that).

Compilation (as I understand it) passes, and the compiled .exe is not called. Most likely, the name of the .exe file and the name of the project (in some tables of the environment) do not match.

And why do you need Russian letters in the file names? From this only a headache at all.