but i don't even have one
Without any source code you can't compile anything and so you can't create an application/executable (EXE).
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, so i want to make a .exe program in notepad and i need to compile it. Google says to compile the .c file but i don't even have one. The tag is random cause there was no tag related to this.
but i don't even have one
Without any source code you can't compile anything and so you can't create an application/executable (EXE).
Hi,
You can edit the code in notepad and change the entension to .c
And use command such as
gcc -o myprogram.exe main.c
to generate the exe. Replace main.c
with your source file.
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.