English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

can you tell me how to improve coding? i'm having difficulty in our computer class...

2006-09-26 22:53:17 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

C/C++ is very interesting language, what u need is just create ur interest in it and u will automatically start doing better in C.

2006-09-27 05:55:54 · answer #1 · answered by Digitally Й!Й 3 · 0 0

Buy books. Also, find and look through other people's source code. The fun thing about programming is that there are several ways to do a certain task. You may find some programming shortcuts you never thought of, and you may find some useful procedures that you can use in your own programs. Don't just look for libraries - get and read the source code.

Tips:
1) Just remember that on any tests, the teacher isn't going to ask you to write a program that uses some C function you never heard of. Keep a list of C functions that you were taught.
2) Write out pseudo-code first. Break a program down into several parts. Worry about variables and complex loops later. If you're going to use complex calculations with nested loops, just write down the pseudo-code for 1 iteration of the loop. Get the algorithm down right, and then worry about looping. Determine which C functions you will need (from your list) to make the program work.
3) Don't worry about messy, long code on your first attempt. If you can write out 6 lines of code faster than 3 more efficient lines, then do it. Get the program working and then optimize later.
4) Do you know how to type? I mean, well? :)
You can be like me and tpye ta 300 wrods pir minetu.
5) You can't cheat on a programming test. Unless you sneak into the teacher's office and steal the test paper beforehand.....

2006-09-27 08:33:58 · answer #2 · answered by Balk 6 · 0 0

You need to pratice out of class, you need to read up on stuff out of class. Don't just stick to the syllabus - read everything you can get your hands on. Yes, it'll turn you into a geek, but that's a good thing: geeks are known for their intelligence after all!

Rawlyn.

2006-09-27 00:00:11 · answer #3 · answered by Anonymous · 0 0

If you want C lessons from me by e-mail and get help from me whenever you want, send me your email and your questions.

2006-09-26 23:46:42 · answer #4 · answered by iyiogrenci 6 · 0 1

fedest.com, questions and answers