+ 4

Need some help for c++

hey guys there are some programs in c++ which are easy to write but the logic is hard to remember. like factorial, armstrong number, palindrome character strings.... how do you remember such type of programs?

12th Jan 2018, 6:30 AM
adnan
adnan - avatar
3 Answers
+ 17
You don't remember logic. You understand them, and through understanding, you can write different implementations to materialize the same piece of logic.
12th Jan 2018, 6:32 AM
Hatsy Rei
Hatsy Rei - avatar
+ 15
practice and understanding make the difference it should be learned it should be understood and then move forward....
12th Jan 2018, 7:49 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 6
Make paper printouts of all your programmes & keep them in backpack or briefcase in order to refer back to them occasionally. Also, index all your work to make the research quicker & easier.
21st Jan 2018, 2:51 PM
Eric Zatarack
Eric Zatarack - avatar