Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create its exe file. #1

Open
gunapasi opened this issue May 17, 2022 · 1 comment
Open

how to create its exe file. #1

gunapasi opened this issue May 17, 2022 · 1 comment

Comments

@gunapasi
Copy link

i have already add getch() and exit() after printf() but the exe file didnot work well.how can i solve this problem. i can compile and run it in command prompt but its not happening in exe file.kindly help me with this.

@Yashwanth-13
Copy link

You have to use some options to create an exe file, like this..
Let's say that the file's name is "calc".
Then the command is:

gcc calc.c -o calculator

This will create an exe file named "calculator"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants