Results 1 to 6 of 6

Thread: How do I convert my C programs to executables?

  1. #1
    Join Date
    Jul 2006
    Posts
    191

    How do I convert my C programs to executables?

    I am very new to the programming language. Now I am studying the C language. I want to save my files of the C program as an executable. Does anyone know how do I convert my C programs to executable? When I am trying to save the files in C as exe files, it is getting saved. But when I try to run those files it shows an error.! Please help me soon.
    ASUS P5VD1-X
    Intel Pentium Dual Core 3.00GHz
    Maxtor 160GB
    Corsair 1.5GB PC3200 RAM
    Nvidia Geforce 6800 GT 256mb
    Phillips DVD RW
    Magna 500W PSU
    XION II Steel Black Gaming Case

  2. #2
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How do I convert my C programs to executables?

    You cannot simply save your C programs to executable files. To turn them into an executable file, you will need to run them through a C compiler. Which Compiler are you using.?? If you are looking for good compiler i would suggest you to go for Dev-C++. If you are moving to the C++ programming language in future, this compiler also supports C++ which can be more useful. Hope that you got some points about the error.

  3. #3
    Join Date
    Jul 2006
    Posts
    191

    Re: How do I convert my C programs to executables?

    Thanks for replying 'kelfro'. I am using the Boreland C++ compiler. I am just using the "save as" option from the compiler to save as the executable. I get the option of the executable from the drop down list of extensions. But as you suggested I would try the DevC++ compiler. Thanks for the reply once again. Also are you sure that I can convert C programs to executable by using the DevC++ compiler?? Since I am new in programming language, also tell me what's different in DevC++ compiler??
    ASUS P5VD1-X
    Intel Pentium Dual Core 3.00GHz
    Maxtor 160GB
    Corsair 1.5GB PC3200 RAM
    Nvidia Geforce 6800 GT 256mb
    Phillips DVD RW
    Magna 500W PSU
    XION II Steel Black Gaming Case

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: How do I convert my C programs to executables?

    According to me the best full-featured programming environment and compiler for creating software in C++ is the Dev-C++. It is also useful for the C language. Strictly for the hard-core C++ programmer, Dev-C++ allows you to compose all of your source code without many of the hand-holding features. Also the Dev-C++ environment are all of the standard features necessary for writing, compiling, debugging, and executing programs written in C. So I think that using the Dev-C++ will be better.

  5. #5
    Join Date
    Nov 2005
    Posts
    1,323

    Re: How do I convert my C programs to executables?

    Even I think that using the Dev-C++ is always better because of the features of it. Here are some features of the Dev-C++ :
    • Support for multiple languages.
    • Integrated debugging.
    • Debug variable Browser.
    • Support GCC-based compilers.
    • Quickly create Windows, console, static libraries and DLLs.
    • Code Completion.
    • Customizable syntax highlighting editor.
    • Print support.
    • Package manager, for easy installation of add-on libraries.
    • Support of templates for creating your own project types.
    • Edit and compile Resource files.
    • CVS Support.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: How do I convert my C programs to executables?

    I would like to suggest you to download the Microsoft's Visual C++ from their official website which is free of cost. Even the Visual C++ can provide a pretty good development atmosphere. For writing applications to target the common language runtime, Visual C++ 2005 includes new syntax. The new syntax is a set of extensions to C++ standardized. Features like New Language Keywords and New Compiler Intrinsics are included in the Visual C++ 2005 Service Pack 1. So you can also go for the Visual C++.

Similar Threads

  1. Replies: 1
    Last Post: 05-02-2011, 01:53 AM
  2. C compiler can't create executables
    By GlassFish in forum Operating Systems
    Replies: 5
    Last Post: 13-03-2010, 06:02 PM
  3. error: C++ compiler cannot create executables
    By Unix'EM in forum Operating Systems
    Replies: 4
    Last Post: 15-09-2009, 06:27 PM
  4. Any hardware to convert external tv tuner card to record programs
    By mail2cmin in forum Hardware Peripherals
    Replies: 1
    Last Post: 09-09-2009, 11:45 AM
  5. Problem with running Executables
    By Suzane in forum Software Development
    Replies: 2
    Last Post: 17-04-2009, 03:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,052,523.79146 seconds with 16 queries