answersLogoWhite

0

How do you create .exe file in c plus plus?

Updated: 3/16/2020
User Avatar

Wiki User

14y ago

Best Answer

You can create an exe-file from your C++ source, if you have a compiler.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create .exe file in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you convert .c extension to .exe?

To convert source code (.c file) to an executable (.exe) file you have to use a compiler, which is a translator of source code to machine code.


How do you create an auto executable file?

whenever the program is compiled by the compiler,a .exe file is formed.here u can find the out put.but a .dll file is formed when a application logic is build to form a component,which can b a part of a .exe file.i mean to say .dll can't produce a out put,but can b used by a application,and after compilation form a .exe file. == A linkage editor will do the trick (often integrated with the compiler). How to create an EXE file If you want to launch Gentee programs as exe files, then use the ge2exe program. It allows to create an .exe file from a source file (.g file) or a compiled bytecode (.ge file). Such .exe file is executed without any extra modules. It can be useful, when you wish to use the program on other computers. GE files are created when compiling programs in Gentee. ge2exe.exe [switches] <source file> [output file] switches - options. You can specify the following options: -e - launch the .exe file after creation. -d - do not include gentee.dll to the created .exe file. In this case, for launching the program gentee.dll is required. This option may be useful if you have several programs in one directory. -w - wait for keystroke after the .exe file is created. -i - link .ico file. It must be the next argument. -i "c:\data\myicon.ico" -r - link .res file. It must be the next argument. -r "c:\data\myres.res" -c - make a console application. Default for .g and .ge files. -g - make a gui application. Default for .gw and .gwe files. source file is a required parameter, and should point the name of the file with bytecode or source code. The following extensions are supported: .G, .GW, .GE, .GWE . output file is an accessory parameter, in which you can point a name for the created .exe file. By default, if this parameter is not specified, the executable will have the same name as the source file, but with extension exe. ge2exe.exe -r myapp.ge ge2exe.exe myapp.ge c:\output\app.exe


How do you run an .exe from batch file?

Yes, To run a file in batch, do one of the following: If it is in the same folder, start filename.exe If it is in another folder, start C:\%filepath%\.exe ex: start C:\Windows\system32\cmd.exe


What is a source code file in c plus plus?

A source code file is a plain-text file containing C++ instructions. The instructions must be compiled and linked to create a native machine code executable.


What does cwindowsexedawevdll mean?

it is a file (C/windows/exe/daw/evdll) is sum random file :)


Can you read a file after created by a program in C plus plus?

Yes. You can either create a file for both reading and writing, or you can re-open a file for reading after creating and writing to it.


What are the file created after c file is save?

Having saved the source file (*.C), you can compile it into an object module (*.OBJ), then link an executable program (*.EXE)


Convert .exe file to .sis formate using C language?

love


How do you get rid of rundll32exe?

It all depends on where the file is located.The rundll32.exe file is located in the folder C:\Windows\System32 is a system file . In other cases, rundll32.exe is a virus, spyware, Trojan or worm! .


What is the difference between a obj file and an exe file in C?

.obj is a simple data-format file that represents 3D geometry alone. .exe is an executable file that usually contains other resources which are sometimes used for a Graphical User Interface. Being simple, its a file to perform indicated tasks according to encoded instructions.


How do you call an exe file in c source code?

system, exec*, spawn*, CreateProcess, ShellExecute...


How do you create a simple student file in C Plus Plus?

Whenever you open a file using the function open of fstream class (header file) by using one of it's object you have created, the file is created automatically.You can do it this way:fstream filer;filer.open("Student.dat",ios::out);//This will create a file.This is just a code segment.