which compiler is good for Learning 'C' Language

Discussion in 'Programmer's Corner' started by mkbutan, Aug 2, 2012.

  1. mkbutan

    Thread Starter Senior Member

    Sep 30, 2008
    270
    16
    hi
    which Compiler is good for learning 'C' language .
    Microsoft Visual C++ ; Dev C++ ; CodeBlock or any other
    right now I am using Dev C++ but i think its giving errors
    also guide me if i can use Microsoft Visual C++ (2008/2010 -exp.ed.)
    for Learning 'C' language.
    Thanks
     
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,386
    1,605
    The best compiler to use is the one that works with the book you have.

    I would expect there to be something online for MSVC++, though I don't have any links for it.
     
    mkbutan likes this.
  3. Brownout

    Well-Known Member

    Jan 10, 2012
    2,375
    998
    Visual C++ is a fine way to learn C. It compiles C programs. I write all my C programs with VC++, as this happens to be what I have. Select "Console Application" for all your C projects when you start the project using the wizzard.

    One caveat though, if you want to run your programs on a different machine that doesn't have VC++, read up on redistributable libraries. Your program won't run without them.
     
    mkbutan likes this.
  4. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    As said by Ernie. It is important to have a book telling you the steps, and that you like at the same time. Which book that work will be different from person to person. This Is a book I like http://www.amazon.com/Ivor-Hortons-Beginning-Visual-Programmer/dp/0470500883 And it should work with Visual C++ express that is free from Microsoft.
    Also then you do your work on the examples. Do not be tempted to download the example source code. For your learning type them by hand. You will learn a lot from this.
     
    mkbutan likes this.
  5. mkbutan

    Thread Starter Senior Member

    Sep 30, 2008
    270
    16
    thanks

    I have already downloaded from MS web site
    but I am not able to use it.
    I am reading Programming in ANSI 'C' Vth edition By Mr. E. Balagurusamy from Mc Graw Hill.
    and
    Let us 'C' 8th edition By Yashavant Kanetkar From BPB Publication

    can I use all the examples given in the book in MSVC++ ?

    I am using DevC++ while compiling the following code's it gets hang
    is this the code's problem or the compiler problem?
     
  6. Brownout

    Well-Known Member

    Jan 10, 2012
    2,375
    998
    The first program has an error with scanf. The second one looks OK, but the output shows values being entered even though that code was commented out. You need to get a clean compile, I think.
     
    mkbutan likes this.
Loading...