T
takashi
Hi, I have a question. I am learning about how to use c++ language. I
have attempted to make my own programs, using the knowledge that I have,
but sometimes when I get stuck on writing a code, it took me a long time
to figure out what I should do. For instance, I was writing a program
which tells you all the prime numbers that are less than the number you
input on the console. It was a very short program, but it took me a
while to write the code successfully. Then I thought that the reason why
I got stuck was that I started writing the code without having any plan.
I just sat down in front of the computer, and started writing the code.
I heard that some people knows how to make a over-all plan of how he
wants to implement his code before he actually starts writing. I heard
about drawing a flowchart, then somebody said that a flowchart is not an
effective way for a large program.
Could anybody tell me how more experienced programer makes his plan
for writing his code, so that there is less chance that he gets stuck
while he's writing his code?
Thank you very much, and have a good day.
have attempted to make my own programs, using the knowledge that I have,
but sometimes when I get stuck on writing a code, it took me a long time
to figure out what I should do. For instance, I was writing a program
which tells you all the prime numbers that are less than the number you
input on the console. It was a very short program, but it took me a
while to write the code successfully. Then I thought that the reason why
I got stuck was that I started writing the code without having any plan.
I just sat down in front of the computer, and started writing the code.
I heard that some people knows how to make a over-all plan of how he
wants to implement his code before he actually starts writing. I heard
about drawing a flowchart, then somebody said that a flowchart is not an
effective way for a large program.
Could anybody tell me how more experienced programer makes his plan
for writing his code, so that there is less chance that he gets stuck
while he's writing his code?
Thank you very much, and have a good day.