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

i read so many programs in books without see the details i cant unerstand or i cant caught the concept then also i cant write codings using programming questions !!!!! lif any websites or books are recover this problem

2007-12-23 04:42:52 · 4 answers · asked by roshin 1 in Computers & Internet Programming & Design

4 answers

This is one of the reasons I don't really like C or C++ - the code is often very hard to read. You are not alone in your feelings of being lost.

My best advice is to focus on statements one at a time and, to help you get started, maybe write down each statement on a tablet, limiting it to one STATEMENT (text between ;) per line. Then, in the margin, analyze that statement to decide what it does, and make notes. Do this one statement at a time until you reach the end of the code segment.

When you are done, re-visit the statements, taking into account what the notes say. Now try to look at the statements as part of a greater whole. This is a mandatory skill to be a good programmer - the ability to step back to see things as a unit. Several statements will be part of a sub-segment that does some particular thing. You might have a loop to scan several input lines. You might have a sequence of IF statements to make some programmed tests and decisions. Look at this until you can see the purpose of each segment.

Eventually, you will work your way up to the top of the tree here - you will undertand all the parts. Then, all you need is to consider the whole of all the program segments. But if you cannot step back to see how parts work together, you are not going to be a good programmer.

2007-12-23 04:59:52 · answer #1 · answered by The_Doc_Man 7 · 0 0

I am also learning C++ right now, and i found that you get a really good book. But you need to take it slow. I had my book for 3 months now and I've only read 100 pages. When looking for a book, look in the table of contents. Make sure starts from the basics, like the really basics but goes somewhere. Stay away from the "For Dummies" because they don't increase in difficulty as you go along. As you read, don't keep reading if you don't understand something. Read the section 500 times if you need to, but everything adds on, so understand before you go on. I like the books by Microsoft for Visual C++.

http://www.microsoft.com/learning/books/default.mspx

Need Extra Help, visit my site:
-----------------------------------------
http://russellc.ca.tp
-----------------------------------------

2007-12-23 04:58:55 · answer #2 · answered by ? 3 · 0 0

Try the Deitel "C++ How To Program" its the best book i've ever read on c++ and i've read about 3 other c++ books.

2007-12-23 05:03:07 · answer #3 · answered by Anonymous · 0 0

Code is easier to understand than your question. perhaps if you clearified your question, someone could help you. It sounds to me that you are seeking C, C++ code help. Well, you could go to Google.com and search for C or C++ programming tutorials.

or visit www.vbforums.com.

2007-12-23 07:22:54 · answer #4 · answered by neptunecentury 3 · 0 0

fedest.com, questions and answers