Help me learn C language

Status
Not open for further replies.

Yamaraj

The Lord of Death
Joined
May 11, 2005
Messages
253
Anyone recommending Kanetkar books should be hanged and fed to vultures.

C Primer Plus is an excellent text. K&R is tough on beginners, and was originally meant for programmers not familiar with C. Stephen Kochan's Programming in C, 3rd edition is also quite good for starters. I also recommend A Book on C by Kelley and Pohl.
 

Faun

Wahahaha~!
Staff member
Joined
Dec 8, 2006
Messages
9,781
Yamaraj said:
Anyone recommending Kanetkar books should be hanged and fed to vultures.

C Primer Plus is an excellent text. K&R is tough on beginners, and was originally meant for programmers not familiar with C. Stephen Kochan's Programming in C, 3rd edition is also quite good for starters. I also recommend A Book on C by Kelley and Pohl.
I never learned from Kanetkar:-D,

K & R is for hardcore sys programming:mrgreen:

Deitel and Deitel is a good option (includes a primer to C++ and JAVA).
 
Joined
Sep 7, 2007
Messages
7,557
there is a book on C programming by Dennis Ritchie. It is absolutely amazing, even for n00bs. He explains every concept, and gives lots of tips. His english is also scholary.

PS: for those who don't know, Dennis Ritchie invented C
 

praka123

left this forum longback
Joined
Sep 7, 2005
Messages
7,473
...and co-invented UNIX for which C Programming Language was made. :D
 

gary4gar

GaurishSharma.com
Joined
May 21, 2005
Messages
4,073
but a word of caution K&R is book for those who already know some programming in any langage. n00bs will find difficult to understand.

the as the opening text of book is
"there is no other to learn to program, then to program itself, so lets get started":D
Code:
#include<stdio.h>
int main()
{
printf("hello world \n");
return 0;
}

so the book is closer to *UNIX, so windows wienies may not understand some *UNIX related concepts, like the file system handling etc etc*farm3.static.flickr.com/2134/2122604649_e2f8e1a9b0_o.png
 

praka123

left this forum longback
Joined
Sep 7, 2005
Messages
7,473
books are not responsible atleast 20%!there is no change if u collect these books!make sure u have a good lecturer,guide.with pupils poor in Maths,they sure need a lecturer for C programming etc.no self studying.
best way to learn programming is to make sure whether ur nice in Math or not.i ur not good in math(<60%) then Programming can be left for those geeks and you can try some good with politics ;) or arts etc :D
ofcourse no offense meant to any!JFYI :)
^...@gary:waiting for ur fast track to C programming :)
 

gary4gar

GaurishSharma.com
Joined
May 21, 2005
Messages
4,073
wise man said:
All books by Yashwant Kanetkar including books like Let US C, Working with C, Data structure through C. The problem with his books is that, though they are easy to read, but they contain lots of factual errors. They do not address the fact that certain aspects of C is implementation dependent.

one word:AVOID THEM

praka123 said:
^...@gary:waiting for ur fast track to C programming :)


oh didn't read this....lol i can't code anything properly apart from "Hello world" program:D
do you need to fast track to hello world:p
 
Last edited:

Yamaraj

The Lord of Death
Joined
May 11, 2005
Messages
253
adi007 said:
^^please tell why??:confused:
though i have not learned C by it but i found it ok...
You also find TC++ ok. I came, I saw, I detested. And I won't explain why.
 
OP
baccilus

baccilus

Cyborg Agent
Joined
Feb 28, 2006
Messages
1,183
Ok guys.... I just came across " C-Primer Plus" by Stephen Prata. I have just read the introductory chapter and found it quite interesting. Now how is this book?
 

praka123

left this forum longback
Joined
Sep 7, 2005
Messages
7,473
^good reviews for that book;afaik yashawantha kanitkar's Let Us C also have above book as referral.use gcc or any ANSI/ISO compliant compilers for testing.
 

QwertyManiac

Commander in Chief
Joined
Jul 17, 2005
Messages
6,575
Will you be just searching for books and not go on with C really at all? By now you should have become a master in its basics, like writing to a file and all!
 
OP
baccilus

baccilus

Cyborg Agent
Joined
Feb 28, 2006
Messages
1,183
LOL... Ya I am learning it too. Can already write basic programs like asking for name, age, class and masks and then displaying them. But had been learning from computer sir till now. I am using Anjuta IDE by the way.

Guys I am finding it more interesting than my major subject( Microbiology), probably because I am still studying the easy part.
 

praka123

left this forum longback
Joined
Sep 7, 2005
Messages
7,473
^yeah a possible Math phobia case like me ;) if ur weak in programming that is!(i am!) u may be very much intelligent but fears from math or programming,this is Math Phobia ;)
 
OP
baccilus

baccilus

Cyborg Agent
Joined
Feb 28, 2006
Messages
1,183
I have been learning C from the past few days and am loving it.

I have recently started getting into a problem with my anjuta IDE compiler in linux.
There are several header files it doesn't find. I learn to write some program in the class(windows) but can't run it at home on my linux box. From the errors it seems that I don't have "iostream.h" and "conio.h" header files. How can I install them?

I just realized that I don't have most of the header files. I tried to execute some programs given in this forum but none executed because of some header file or other.
 
Last edited:

2kewl

Sangeet Premi
Joined
Apr 7, 2007
Messages
321
C & DS by E. Balagurusamy is a good one to start off with
 
OP
baccilus

baccilus

Cyborg Agent
Joined
Feb 28, 2006
Messages
1,183
What about the header files problem?

By the way I have decided to go for C primer plus. Am already reading an *ahem* version. Will buy it soon :)

But do something about the header files problems. Its really irritating :-(
 

QwertyManiac

Commander in Chief
Joined
Jul 17, 2005
Messages
6,575
Conio.h is Turbo exclusive (Platform Dependent - Windows).

To include iostream, in standard C++, use:
Code:
#include<iostream>

No .h's.
 
Status
Not open for further replies.
Top