Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
wht should i do to be perfect in programming languages like c n c++?????
is there any site to practise for programming????
5 Answers
- 1 decade agoFavorite Answer
Agree with the people here...practice, practice, practice. Moreover, if you are just starting and are getting frustrated at your error rate, the more you program the easier it will become for you to figure out what went wrong.
I've taught programming and the one thing I keep telling my students is, first think about what you are trying to do. Write it down on paper, plan it out. Look at the big picture then work your way down to finer details before you attack your terminal.
The more often you do it, the quicker you will be at recognizing patterns of code you have used before to solve similar problems, and when the stuff doesn't compile or returns spurious answers, you may recognize the symptom of frequent problems you have solved before.
Don't worry too much about specific languages. Different languages have their own patterns and ways of solving problems, but once you figure out how each one does it thing, you can master it.
PS. always document/comment your work. That way when you want to re-use something you did last year...you won't have to play guessing games with it and if you are a student, don't expect to receive divine inspiration to solve your problem the night before it's due. My recollection is that professional programmers average only 3-4 lines of "working" code per hour.
- 1 decade ago
What you are asking for is impossible. To be perfect in any programming language requires that you write a program that will compile every time and will contain no bugs. This is impossible.
You can become proficient at programming, which I feel is what you meant to say. This requires practice and studying. But don't even aim for perfection, because I've been programming for over 7 years and I still make mistakes. My father has been programming for over 30, and he does as well.
There are a lot of sites out there that can help you with learning a language, but you must also learn to apply the language. Learning how to program requires learning how to solve problems and applying what you learned of a language to solving that problem.
Source(s): Professional programmer - Anonymous1 decade ago
The only way to become perfect at anything would be to transform into some kind of god-like mythical being.
If you merely want to improve your skills (but not to perfection) then the best way to do this is by practicing. You can read books and websites until you are blue in the face, but there is a limit to how useful this is. My recommendation is to start yourself a little project, it doesn't matter what, and work at it until it's finished. By the end of it you will have improved loads. Repeat this process and you'll get even better! Practice makes perfect (well, not exactly _perfect_ but...) - any skilled craftsman (whatever the craft, be it sculpture, programming, sport... etc) will tell you the same.
Rawlyn.
- seabrooksLv 45 years ago
C and C++ are unlikely everywhere every time quickly. you would be able to apply different languages for specific issues yet you will need C and C++ skills for an prolonged time to return. the guy training you is obviously living in a abode windows in simple terms international. At my final corporation we used extensively speaking multiple flavors of UNIX for image processing. every time somebody reported making use of Java or another language to do the artwork, we could code it up and the clientele could ***** that it became too slow. I at present artwork in genuine-time processing and we stick to C and C++ by using fee required, etc. sport programming will certainly require a physically powerful know-how of C and C++.
- How do you think about the answers? You can sign in to vote the answer.
- 1 decade ago
Thats not even close to possible, language standards constantly change so you can't memorize functions nor I would recommend you try. The best way is to learn how to read API docs and learn to code your own functions.
most computer languages like C and C++ use the syntax for reference of
int add(int i1, int i2);
int = return an integer type
add is the name to call
int i1 = 1st argument to pass
int i2 = 2nd argument to pass
I would call this function something like this
add(2, 4);
to write add all you need to do is this
int add(int i1, int i2) {
int ret = i1 + i2;
return ret;
}
Hope this helps.