which compiler is good for Learning 'C' Language

Thread Starter

mkbutan

Joined Sep 30, 2008
299
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
 

Attachments

ErnieM

Joined Apr 24, 2011
8,415
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.
 

Brownout

Joined Jan 10, 2012
2,390
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.
 

t06afre

Joined May 11, 2009
5,934
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.
 

Thread Starter

mkbutan

Joined Sep 30, 2008
299
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.
thanks

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.
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?
 

Attachments

Brownout

Joined Jan 10, 2012
2,390
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.
 
Top