like the thread title said i need the best C book for never programmed person can you please tell me it
thanks....

Dani AI

Generated

— feeling lost at the start is normal. Replies here take a few different angles (classic references, beginner-friendly guides, and online tutorials). Those are all valid. The practical question is: which approach gets you writing small, working programs quickly? Below is a compact, hands-on plan that blends short reading with exercises so a complete beginner can make steady progress.

Set up a simple toolchain and learn the edit-compile-run-debug loop first. Write tiny programs, run them, read every compiler message, and fix errors yourself. Learning order that works for most beginners: basic input/output and expressions, control flow (if/loops), functions and splitting code into files, arrays and strings, then pointers and dynamic memory (take your time here), and finally structs and basic file I/O. Use compiler warnings (enable them) and a debugger to inspect variables when things go wrong.

Practice list (do each until you can explain every line): Hello world; simple calculator; average of N numbers; guessing game with random numbers; reverse a string; implement bubble sort on a small array; read/write a text file. Example starter program:

#include <stdio.h>

int main(void) {
    puts("Hello, world!");
    return 0;
}

Compile and run:

gcc hello.c -o hello
./hello

When you choose a book or PDF later, prefer one with many short exercises and worked solutions, a clear chapter on pointers, and a focus on writing and debugging rather than dense theory. Alternate reading with immediate coding: read a small section, then implement one or two tiny programs that use the new ideas. As advised, practice is the key. If stuck, post the minimal failing code and the exact compiler error — that makes help fast and useful.

Recommended Answers

All 7 Replies

The C programming Language..

There is lot of books for C. But all depends upon you. What type of book you required and prefer. I will only recommend follow whatever book you like and do practice and more practice. Try to create new programs and explore thing in details.

iam felling lost :( what to do

just learn from c for dummies ????

iam learning from pdfs

so not hard

any recommends ?

I recommend not starting with books. They will only confuse you by presenting you with an information overload and a thousand words dealing with the language that you've never heard before. Just start by using the internet. Google "c++ beginner tutorial" or something similar to that.

1 question only i need help in because iam going to use pdf books

which better

learn c in 21 days
or
c for dummies 2nd edition

well it all depends on your style of learning , sometimes the dummies books can be an hindrance rather that a help, go to a book shop flick through a couple, and then buy them on-line cheaper if you feel they are any good

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.