How do I become a good programmer in C?
-
-
Answer:
Download a compiler or two if you don't already have them. Don't steal one, please, get a free one (my personal favorite free one is Dev-CPP), or buy one, I use a Visual Studio Professional (sometimes free only gets you so far, but it is a good place to start). Start with a tutorial book. Read it, do the examples. No, seriously write them out yourself - no one really learns from just "reading code." Get used to writing the examples out even though you are mostly being directed by the author; you are getting some experience recognizing the functions. If you do not understand why the code is doing what it is doing, stop and restart that chapter or get another book that explains that chapter better. I have 3 books on C# and 4 on C/C++. If you are expecting the "mastering C in 14 days" to leave you writing parallel code in my shoes 15 days later, you've been suckered. It doesn't work that way. Mastery of C/C++ takes years, not days. When you finish the book, write your own code. I don't care if it is encoding and decoding "Mary Had a little lamb" from a Caesar Cipher or reproducing a Shell sort. Understand the algorithm, then write it in code, don't Google and copy and paste, write it. Can you make it better by changing this? or that? did it make it better? or worse? how would you know? what would you measure? how? This is called thinking and testing. The greatest experience known to man. Work on harder problems, start simple, make it work, slowly complicate it with more difficult variations. Eventually Google some common problems in math and physics, try coding them. Make a particle engine with each particle with a velocity and mass, and eventually atmosphere, maybe even wind. You are learning how to graduate algorithms from simple to complex. Take some online courses, go to a community college, or university and take some courses. A class FORCES you to move forward, sometimes you may need that, though some people don't. I learn reasonably well from books, others don't. Don't give up. I struggled with C (we won't say how long ago), but it worked out well in the end.
Jeffry Brickley at Quora Visit the source
Other answers
1. Read the reference book ." C programming" by Balaguru Swami is one I used to learn programming and is one ofhthe best I know. 2. Practice thoroughly what you have learnt . 3. Try solving problems on your own and also compare it with ready made programs available on the web. You can take help of this app .It contains almost all types of programs and the recipe of making games in c language. Link:https://www.google.co.in/url?q=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.cprogrammingzone.free%26hl%3Den&sa=U&ved=0ahUKEwjwrOmV27LLAhWFcY4KHYkHBBEQFggIMAA&usg=AFQjCNGcnk4XKguuJtRk10XkqkSDQyL91g Hope this will help. Thanks
Sherlock Holmes
This much reading is enough, now time to do something with what u hv already learned.Start writing programs, find project idea online, or u think about it.While doing this you can refer other book if you want to, else google is enough.
Rahul Singh Chauhan
to expert in c language we must focus on Functions and Pointers and in the beginning stage don't use compilers which are give rich support like dev c, Turbo c. Try Notepad and GNC compiler.
Kali Charan
Well explained . I totally agree with him here. The only difference between a programmer and a good programmer is that the good one experiment whatever he had learned from text books, tuts, etc.. So all you have to do is to find other things that can be done with whatever you have learned and if you have learned that 1 + 1 = 2 then try finding what other ways to obtain the same and what other can be obtained from these 1s. Happy coding!!
Anand Suthar
I think to become a good programmer in any language most important thing is practicing the concepts of that programming language.I think for C Programming âThe C Programming Language by Brian Kernighan and Dennis Ritchieâ book and a gcc compiler would be sufficient.To become a good programmer one should focus more on writing codes than reading multiple books for same concepts
Saurav Babu
Read the following : The C Programming language by Denis Ritchie Pointer on C by Reek Linux Kernel Development by Robert Love Data Structures And Algorithm Analysis in C by Mark Allen Weiss Implement all the data structures using C. Solve more and more problems using C.Use Visual Studio or CodeBlocks
Ashok Dey
Hi !!!Iam an engineering student from bits-pilaniFrom my experience of coding , reading a text as such or watching online tutorials aren't going to serve your http://purpose.In all probability you will end up some where in the 'sea'(C) without knowing what's to be done. Try learning the concepts from whatever source u have (material does'nt matter much as long as you have Google to help you out ) and the moment use come across a snippet of code , try to implement it on your own , try playing around with it by changing values or loops or iterative statements etc.The same holds good for C++ , Java and all other programming languages .Do more of practical learning than just theoretical one .If this is your motto for next few weeks you'll end up where you want to be .Good luck for your future .
Achyuth Reddy Ravula
while(!EXPERT) { Practice(); }
Souvik Ghosh
By Practice Take a problem , solve it and check for alternative ways to solve the problem.
Prakash Subramanian
Related Q & A:
- Can I become a good rower?Best solution by Yahoo! Answers
- How do I become a programmer?Best solution by Yahoo! Answers
- How do you become a good dishwasher in a restaurant?Best solution by snagajob.com
- How do i become a good singer?Best solution by Yahoo! Answers
- How do I Become A good Nurse?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.