Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C
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 15-Mar-13 20:48pm
Comments
Richard MacCutchan at 16-Mar-13 9:06am
   
I learnt it in a weekend back in 1987, and I'm getting quite good at it now.
ThePhantomUpvoter at 16-Mar-13 9:40am
   
In one day?!? What makes you think you could?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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. Smile | :)
Good luck,
—SA
  Permalink  
Comments
nv3 at 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 at 16-Mar-13 20:40pm
   
Thank you very much,
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  
Comments
nv3 at 16-Mar-13 8:27am
   
That says it all.
Sergey Alexandrovich Kryukov at 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)

  Print Answers RSS
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Sergey Alexandrovich Kryukov 105
4 Afzaal Ahmad Zeeshan 82
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 16 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100