Results 1 to 6 of 6

Thread: {Resolved} Does anyone know a good online tutorial for C?

  1. #1

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Resolved {Resolved} Does anyone know a good online tutorial for C?

    Hi everyone.

    I've decided to learn C and I'm looking for a good online tutorial (Perferably with samples).

    I would also like to know what would be the best compiler to use? I know there are quite a few arround but I want the expert oppinion on which is best for general use

    Cheers and thanks for the reply,

    RyanJ
    Last edited by sciguyryan; May 26th, 2005 at 08:09 AM.
    My Blog.

    Ryan Jones.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Does anyone know a good online tutorial for C?

    You can find a tutorial for C++ at the top of this forum. For C, I don't know.

    Best compiler - depends. Do you only need the compiler?
    On Windows, I recommend either MinGW (GCC for Windows) or Microsoft C. Both are free downloads.

    MinGW:
    Download: http://www.mingw.org/
    C Standard: C99
    C++ Standard: C++98
    Pro: GCC invocation syntax, can compile many Unix programs, comes with GNU make.
    Contra: Using DLLs that were generated by MSC or Borland C (= most of them) or making DLLs that these programs can use is non-trivial. Also, support for COM is spotty.

    Microsoft C:
    Download: http://msdn.microsoft.com/visualc/vctoolkit2003/
    C Standard: C89
    C++ Standard: C++98
    Pro: Good interoperability with other Windows stuff, as this is the compiler that compiles Windows itself. Has some extensions that ease usage of various Windows-specific features. Is faster than MinGW and produces faster, smaller code.
    Contra: Does not support modern C features such as runtime-sized arrays or the bool datatype. IDE for this compiler is expensive.



    If you want to use an IDE (you probably do) there again are two common choices, Visual Studio and Dev-C++.

    Dev-C++:
    Download: http://www.bloodshed.net/
    Compiler: MinGW
    Price: Free

    Visual Studio:
    Download: None
    Compiler: MSC
    Price: No idea, but a lot.

    Again, of the two the MS one is a bit more attuned to Windows programming, and comes with the MFC and ATL windowing libraries. On the other hand, Dev-C++ has an integrated package installer for such things as GTK+, GTK--, wxWindows and many other very useful libraries.

    You can find a lot of interesting tools of all kinds on this site:
    http://www.devzoo.com//index.php?tooltype=WindowsEditor
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Does anyone know a good online tutorial for C?

    Thanks for the information - I will look it over.

    Thanks again,

    RyanJ
    My Blog.

    Ryan Jones.

  4. #4

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Does anyone know a good online tutorial for C?

    Do you have any information on the lcc-win32 compiler? I've heared thats quite a good one but I want to be shure first

    Cheers,

    RyanJ
    My Blog.

    Ryan Jones.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Does anyone know a good online tutorial for C?

    I heard that it's quite good, too, but it's a C-only compiler and therefore rather uninteresting to me (I'm more of a C++ guy.)
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6

    Thread Starter
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Does anyone know a good online tutorial for C?

    Quote Originally Posted by CornedBee
    I heard that it's quite good, too, but it's a C-only compiler and therefore rather uninteresting to me (I'm more of a C++ guy.)

    Ok, in that case I will use Dev-C++

    Thank you again for your help, I've added to your rep points

    CHeers,

    RyanJ
    My Blog.

    Ryan Jones.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width