Click here to Skip to main content
11,930,048 members (44,067 online)
Rate this:
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
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.
ThePhantomUpvoter 16-Mar-13 9:40am
In one day?!? What makes you think you could?
Rate this: bad
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,[^].

Meet you in ten years. Smile | :)
Good luck,
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,
Rate this: bad
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.
nv3 16-Mar-13 8:27am
That says it all.
Sergey Alexandrovich Kryukov 16-Mar-13 20:41pm
Good points, a 5.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 16 Mar 2013
Copyright © CodeProject, 1999-2015
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