SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Thread: C programming

  1. #1
    psycho
    Join Date
    May 2000
    Location
    London
    Posts
    283
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have just started to learn. Can anyone suggest the best compiler to use? and what's all this about "linkers" and things like this ?

    Can i not just make my prog in ultra edit, then compile from the command line ?

    Cheers
    James

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2000
    Location
    Warwickshire, England
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your compiler creates binary object files. These contain the actual code for your program. A linker well, links them, and creates a "Portable executable" (for windows).
    Yes, you can write your program in any text editor you want, but I would just use an IDE (integrated debugging environment).

  3. #3
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Which version of C are you using? I use Borland C.

  4. #4
    SitePoint Evangelist
    Join Date
    Jul 2000
    Location
    Warwickshire, England
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use MS VC++ 4.0 and GCC under linux. I have also used DJGPP briefly, but vc++ has a nice IDE to it
    I like vc++ aswell because it has a good inline assembler, so if I write some asm code, I dont have to compile it all seperately.
    I am hoping to acquire VC++ 5.0 soon, hopefully it will be just as good as 4

  5. #5
    SitePoint Wizard wdmny's Avatar
    Join Date
    Jul 2000
    Location
    Here
    Posts
    1,010
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why not VC++ 6? I have the entire Visual Studio 6 and it's great!

  6. #6
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Borland C++ Builder has got to be one of the best IDEs (I'm using v3) for visual development but for general non visual development then MS V++ 6.0 wins hands down.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  7. #7
    SitePoint Evangelist
    Join Date
    Jul 2000
    Location
    Warwickshire, England
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Wes DeMoney
    Why not VC++ 6? I have the entire Visual Studio 6 and it's great!
    lol

    - Problem: it costs . I dont have
    - remedy: get a (better) job or settle for something cheaper.

    Karl, I have never used the Borland IDE, I just gave their free compiler a quick whirl.

  8. #8
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, if you're looking for a free/$free C compiler for Windows, and you want to use your own IDE (like Homesite, etc.), try the Windows port of GCC. It's more than a port actually, it's a whole product but still free (donations are optional). http://www.delorie.com/djgpp/

  9. #9
    SitePoint Enthusiast
    Join Date
    Dec 2000
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is also this freeware one called LCC-Win32, sorry i cant find the link though. But the cygwin one is no good for windows, lol. I will see if i can dig up the link this weekend, till then happy new years.
    Nebiyu E.
    Co-president & Website Developer
    Deoxic Studios - "The Evolution of Web Design"
    http://www.dadreamonline.com/deoxicstudios/
    nebiyu@dadreamonline.com

  10. #10
    SitePoint Evangelist
    Join Date
    Jul 2000
    Location
    Warwickshire, England
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As stated in my previous post, I have already used djgpp.. But Homesite really wouldn't serve as a very good Integrated debugging environment. Also, RHIDE for djgpp is fine, but I just prefer VC++..
    I think the Borland Compiler is probably the best freeware. As Karl kindly pointed out, I could get the VC++ 6.0 education edition..

  11. #11
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you want to go for visual C then So Be It, I think you might be able to get a student discount on Borlan C though. I don't know as I don't personally bought a copy as work payed for it!

  12. #12
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can get Visual Studio 6 Pro for 79 in the UK if you buy a student copy of it. Some C++ Books come with a basic copy of VC++ as well.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  13. #13
    SitePoint Enthusiast Daniel's Avatar
    Join Date
    Dec 1999
    Location
    Belfast
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by PeterW
    but I would just use an IDE (integrated debugging environment)
    LOL, IDE stands for Integrated Development Environment (not debugging), which simply means that all your tools can be accessed from one place--the compiler, the linker, the help system, and all your debugging tools.

    If you are looking for a free C and C++ compiler then try DevC++ from Bloodshed Software. They also have a good Pascal compiler called DevPascal which is based on the same IDE.

    DevC++ works with both the Mingw compiler system and the Cygwin compiler (which I haven't tried, so I can't comment on its effectiveness).

    I do not recommend Visual C++ to beginners, Microsoft always tries to confuse beginners with blurb about MFC and ATL. Oh no wait, now it's C# they confuse people with....

    I learnt C using Turbo C++ 1.01, which has now been released for free and you can download it from the Borland Community site. It is an excellent compiler for beginners although it is very old. Oh, if that link doesn't work, go to http://community.borland.com/museum - you will be asked to sign up to their community section, and you must do so if you wish to download the software! Once in the Museum section click on the link at the top of the page; it's pretty obvious which one.

    Regards,
    Daniel Irvine
    Aroze - Content management simplified.
    F-Free.Net - Free Stuff and Freebies!

  14. #14
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use and love Microsoft Visual C++ 6.0. Its great, and really has a lot of well thought out features. I also have djgpp installed so that Allegro works correctly.

    Allegro is cooool.

  15. #15
    SitePoint Evangelist
    Join Date
    Jul 2000
    Location
    Warwickshire, England
    Posts
    557
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Daniel
    Originally posted by PeterW
    but I would just use an IDE (integrated debugging environment)
    LOL, IDE stands for Integrated Development Environment (not debugging
    Sorry Dan, but I think you will find IDE can stand for lots of things.. be it integrated debugging or development environment or inexpensive drive electronics.. neither one is right or wrong.. I usally refer to it as ..debugging.. because I use the tracing and dissasembly features etc of VC++ alot.
    Just thought I would point out.. no need to reach for the negative karma button or anything


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
  •