Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How can I learn C language within a day... I'm having the basic knowledge of it but I face difficulty in reading it and also in executing every program...
Posted
Comments
Richard MacCutchan 16-Mar-13 9:06am    
I learnt it in a weekend back in 1987, and I'm getting quite good at it now.
[no name] 16-Mar-13 9:40am    
In one day?!? What makes you think you could?

No, you cannot. Your question clearly show it. And nobody needs such "knowledge".

This is a very inspirational reading:
Peter Norvig, Teach Yourself Programming in Ten Years,
http://norvig.com/21-days.html[^].

Meet you in ten years. :-)
Good luck,
—SA
 
Share this answer
 
Comments
nv3 16-Mar-13 8:26am    
Nice link, Sergey. And good answer. I like Norvig's summary: "Bad programming is easy. Idiots can learn it in 21 days." That says all about any attempt to learn a programming language (or even programming in general) in so-many days or weeks.
Sergey Alexandrovich Kryukov 16-Mar-13 20:40pm    
Thank you very much,
—SA
The best way to learn C fast in my opinion is to step through a working program line by line with a really good visual debugger like MSVC that shows you variable names, types and values, the stack, memory windows and more. You will need basic computing concepts, an idea of what registers, memory addressing and functions calls are about. The rest can be analysed from what you see but as Sergey says you're not going to do it in a day, a year is more realistic and you will still need to grasp the higher level concepts of program architecture, hopefully OOP, and gain a lot of knowledge about build systems, file systems, projects, source control and using the facilities of the Operating System interfaces before you can really say you've got it.
This is why when I started my senior told me that after 5 years you can start to be useful. It took 2.5 but not everyone is that lucky.
 
Share this answer
 
Comments
nv3 16-Mar-13 8:27am    
That says it all.
Sergey Alexandrovich Kryukov 16-Mar-13 20:41pm    
Good points, a 5.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900