compilers

This is a discussion on compilers within the C Programming forums, part of the General Programming Boards category; Ok. I have been learning C for over a month and I am still at my first program. The typical ...

  1. #1
    ___
    Join Date
    Jun 2003
    Posts
    806

    compilers

    Ok. I have been learning C for over a month and I am still at my first program. The typical hey world program. The problem isnt not understanding it. I understand the code fine. Its the compilers. There are just way too many options on them and they just confuse me so much. So after finally finding a C compiler that fits perfect for me (Miracle C Workbench) it turns out, that it doesnt have al lthe header files I need. I have downloaded just under 1 gig. of memories worth of compilers too. So I finally came up with that options I want and I want to know if any of you have a compiler that fits. So here is the list

    • Compiles C only. Not C/C++.
    • Free (im 15. i dont have a job yet)
    • easy to use basic features such as compile, link, execute. (not a million features)



    * Also an edit note. I use a Dell 4300 with Windows XP home version
    Last edited by ZakkWylde969; 06-17-2003 at 11:06 AM.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    GCC, here are some ports: http://www.delorie.com/djgpp/.

  3. #3
    ___
    Join Date
    Jun 2003
    Posts
    806
    What all do I download?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    On the site there is a Zip Picker, which helps you to select the files to download.

  5. #5
    ___
    Join Date
    Jun 2003
    Posts
    806
    Ok thanks allot. Hopefully soon I can start asking meaningful questions.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  6. #6
    ___
    Join Date
    Jun 2003
    Posts
    806
    When I try to compile it into a folder. it comes up with this message.

    Code:
    Resource file C:\Documents and Settings\Justin\Desktop\compiled files\rsrc.rc does not exist. Check in Project Options.

    How do I fix that?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  7. #7
    Registered User
    Join Date
    May 2003
    Posts
    25
    You have to name your files "prog.c" for C?

    I've been saving them as .cpp, and they have been compiling all just fine.

    BTW, i use borland's free compiler.

  8. #8
    ___
    Join Date
    Jun 2003
    Posts
    806
    Is there anyway I can just add header files to the "Miracle C" compiler? Its pretty much what I am looking for as of now. So is there a site where I can download header files and just put them in the compilers directory?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  9. #9
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    You coulddownload the new Watcom c compiler, it also contains an OK IDE.
    This installation also should contain all header files..

  10. #10
    ___
    Join Date
    Jun 2003
    Posts
    806
    I am a little new to programming so do you want to tell me what to do with the source code i just downloaded?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  11. #11
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    You were supposed to download the installer

  12. #12
    ___
    Join Date
    Jun 2003
    Posts
    806
    Thanks. Man what a bad start to this eh? Takes a month to figure out how to use a compiler. Im hopeless
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  13. #13
    ___
    Join Date
    Jun 2003
    Posts
    806
    Originally posted by knutso
    You were supposed to download the installer
    sorry about the double post but what do I run? It gave me 12 different .exe file. tons of readme files.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 07:03 AM
  4. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 03:21 PM
  5. target OS compilers
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 07-01-2002, 11:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21