0
Best method for converting a problem to C++ code?
2 odpowiedzi
+ 4
I suppose what you're really asking is the best method to represent a solution to a problem in terms of code? Usually, what you do is you determine the required input(s) and expected output first. It's easier put things together to form your program when the expectations of the end goal is clear.
+ 3
This question seems irrelevant. Completing 97% of the C++ course, you should have already known that. There is no best way to convert a problem to C++ code. You just make a C++ code that solves your problem, and find it's efficiency to compare with other methods of solving it.
And why do you want upvotes? If this question is just to get a batch, then it's not allowed so delete this question =)