Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (shank65):

How to remember codes Upto 200-300 line codes?

OpenStudy (amirengineer):

1-Divided the code into segments 2-Make a comment above every segment that let you know what's the segment is talking about. Example : /* This segment do ..... The inputs are..... The outputs are..... */ 3- write comments beside lines that contains complex manipulation of data as it's easier to forget. an easy example : x= (y/10*i) // divide the Distance by Time * 10 4- Make the code more Readable by using the #define so using the same example above you can change the equation into Velocity = Distance/(10*Time)

OpenStudy (joshmorris):

j

OpenStudy (bonnieisflash1.0):

\(\color{blue}{\text{Originally Posted by}}\) @amirengineer 1-Divided the code into segments 2-Make a comment above every segment that let you know what's the segment is talking about. Example : /* This segment do ..... The inputs are..... The outputs are..... */ 3- write comments beside lines that contains complex manipulation of data as it's easier to forget. an easy example : x= (y/10*i) // divide the Distance by Time * 10 4- Make the code more Readable by using the #define so using the same example above you can change the equation into Velocity = Distance/(10*Time) \(\color{blue}{\text{End of Quote}}\)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!