see i have compile one c program and prepare one a.exe
Now when ever i click on a.exe
cmd windows opens
a.exe run
and automatically close that windows.
What should i do in program or anywhere so this way after running that a.exe that cmd windows don’t close automatically.
Create a batch file with the following content:
Then start the batch file
As an alternative you could add a line to your C program that prompts the user for input before exiting.