Home > Back-end >  For help, the C language to write the program exe file open a piece of black
For help, the C language to write the program exe file open a piece of black

Time:09-23

Written in C language tuixiangzi game, run in the vs no problem, but only a piece of black open exe file, press any key is useless, what is wrong with the

CodePudding user response:

Your exe is the debug version? In vs environment operation?

CodePudding user response:

So from that cannot run, please

CodePudding user response:

reference 1st floor usecf response:
your exe is the debug version? In vs environment operation?

So from that cannot run, please

CodePudding user response:

In that case, you have to compile the release version

CodePudding user response:

Wrong path, run the debug in code directory by default, is run directly in the current directory;

CodePudding user response:

reference 5 floor simple reply:
wrong path, the debug to run in the code directory by default, is run directly in the current directory;

Not together I put my pictures and exe

CodePudding user response:

You have to arrange it, or try VScode, I feel bad the use VS the use
  • Related