Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to learn C language ?

Status
Not open for further replies.
as said the best method to learn is by doing
but if you just listen to everthing around and especially at google.com u will end up being baffled as today its not the question of where to find resources but which one is best.

My advice is forget everything about system c ,embedded c , ansi c or K&R c atleast for the time being and get ONE book and finish it off to grasp the fundamentals . Meanwhile you finish the book you will be well aware of all these jargons then after grasping firm on the basics you can top your knowledge to get in your pouch system c , embedded c or like .
 

vc++ and c++builder are both good tools for c++ study.
I think builder is easily for beginner, and its programming structure is very much clear.
 

read "LET US C " by yashwant Karnetkar

it is the easiest book for beginners

once u finish this book, then read "Pointers in C " by the same author.
this is again a very good book and serves the purpose for both experienced and naive programmmers.

bye
pri
 

first you have to read the basics about the languaje, then this kind of forums help a lot when you have some doubts. thinking in c++ could be a good place to start.
 

IMHO,
C is not a strongly typed language, and is not the best language to learn to program in. PASCAL or Modula II are more strongly typed, and very good to learn good fundamental programming practices. Once you have learned to program in a strongly typed language, then, move on to C. When you do move on, get the 'bible' of C "The C Programming Language" by the creators of the language, Brian Kernighan and Dennis Ritchie. Me's first post offers some really good advice: Put to practice what you learn in the books. This way your learning will be increased through physical patterns as well as mental. (TPL)

Anyone who tells you to start with C++ is full of it! C++ is an object oriented approach to programming, and while based on C, it uses libraries, and is heavily biased to memorization. It is not very useful in embedded programming.

You can build object oriented programs with C, using structs and pointers.

When you first start with a particular microcontroller, you will give yourself an advantage, and get to know the chip much better, if you learn the assembly language related to the hardware. This is only a slight bit of pain for the benifits it will bring. I'm not sure about Atmel's or Motorola's assembly, but with Microchip assembly there are only about 35 instructions to learn.

When beginning with embedded systems, it is best to start with hardware that is known to work, then when your project doesn't work, you will have eliminated the hardware as a bug, and be able to focus on the software. Once you have some skill writing the software, then branch out building hardware, which you can then test on known software, thus eliminatintg that as a bug.

Hope this is of some value to someone out there, as this was a very old thread.

Regards,
beebop
 

Can any one send the Web Address or Upload the Book of C by Scheldit
 

The CD titled 'Learning C' seems to be very good.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top