0
How could I write a program in c++ without helping? I have studied the classes put it was useless because it was simple.
3 Respuestas
+ 3
If you have a good foundation of basic concepts of programming, then start to write a simple, specifice, and achievable program by using your current knowledge. As you making progress and sharpening your skill the ideas will come to you along the way and as a result your projects going to get richer and better.
+ 1
c++ is a type of object based programming language and it means that you need to think of the problem as in terms of objects and classes and it would all seem like a kids play to write even the most trickiest and longest programs.
+ 1
First, define the problem.
Second, devise the solution.
Once you have the solution, ask yourself what you would need to do. Write this down in bullet points.
Let's say one of the bullet points is that you need to calculate a balance, write down "action sentences" of how this would be done.
1. Get the opening balance
2. Find all the related transactions
3. Calculate the effect of each transaction
4. Return the closing balance
Focus on solving the problem at hand with the most simplistic code. This way you'll reduce bugs and help the person who has to use the code next to understand your logic