CrazyEngineers
  • How to making exe file

    Updated: Oct 20, 2024
    Views: 986
    can an one tell me that how to create exe file for C-program?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • rahul69

    MemberJan 1, 2013

    Manohar goud
    can an one tell me that how to create exe file for C-program?
    To create an exe of C program u need to compile that program. The steps for same will differ based on which IDE u r using. So u can tell us the IDE, compiler and OS u r using, for more specific steps if needed😁 .
    Good Luck!
    Are you sure? This action cannot be undone.
    Cancel
  • safiajen0055

    MemberJan 2, 2013

    I think the exe file created automatically when you run a C program!
    Are you sure? This action cannot be undone.
    Cancel
  • pratap singh, upendra

    MemberJan 2, 2013

    I think the exe file created automatically when you run a C program
    well to enlighten you whenever a c sample program is compiled then an object file is created with the same name as the c source code file. This object file has an extension .o(in linux ) or .obj (in windows operating system). Once this object file has been created the next step is to link this object file with the help of another program module called as linker. This software links the c libraries(as and where required) with the statements written in the object file. Upon successful linking process, an executable file is automatically created in the same folder itself unless the IDE is modified.

    In most of the IDEs that we have today, an option build is engaged. this build operation is equivalent to the process of compilation followed by linking.
    Are you sure? This action cannot be undone.
    Cancel
  • Manohar goud

    MemberJan 7, 2013

    proffy
    well to enlighten you whenever a c sample program is compiled then an object file is created with the same name as the c source code file. This object file has an extension .o(in linux ) or .obj (in windows operating system). Once this object file has been created the next step is to link this object file with the help of another program module called as linker. This software links the c libraries(as and where required) with the statements written in the object file. Upon successful linking process, an executable file is automatically created in the same folder itself unless the IDE is modified.

    In most of the IDEs that we have today, an option build is engaged. this build operation is equivalent to the process of compilation followed by linking.
    But where this .exe file has stored and how can i get it?
    Are you sure? This action cannot be undone.
    Cancel
  • rahul69

    MemberJan 7, 2013

    Manohar goud
    But where this .exe file has stored and how can i get it?
    Mostly, the exe file is in the same folder as your C file, but depending on IDE it may differ, as for DEV C compiler it is inside the same folder, but in VC++, inside ur specific project folder, there is a debug folder in which exe is placed.
    Are you sure? This action cannot be undone.
    Cancel
  • rahul69

    MemberJan 18, 2013

    Tony Mccallum
    Hello Community,

    An "exe" file is an executable file or a program file. To create an "exe" file in Notepad, you must understand and know a programming language such as C++. With Notepad, users are able create an the file with software already found on their computer.
    1. Open Notepad on your computer. Notepad is located in the "Accessories" folder of the computer's "Program Files".
    2. Hold down the "Alt" key and use the number pad to type in every 3-digit combinations from 000 to 999. After each 3-digit combination, release the "Alt" key.
    I sincerely doubt that this will work, as creation of executable is not a simple process of storing the ASCII codes(which u seem to do). It involves preprocessing, compiling, linking, loading etc. And the data is stored in the binary format (I think) rather than simple numeric codes.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register