> c++ programming and i would like to come up with a c++ solution to
> this kind of scenario but still do not understand the source code,
> since am just new in programming.

Well, my bet is; your problem is not the code but coming up with the
program logic.

Question is, do you understand the mathematics involved? (1/4 of your problem)
If so, can you solve the problem on paper?  (1/2 of your problem)
And if you can, then you will translate your mathematical steps into
pseudo code, breaking down your major steps into functions and thats
it. (1/4 of your problem).

Then I ask, what exactly is your problem? Because if you can solve the
problem on paper, then you can write code that you understand! (unless
when you are looking at some other person's solution -- which is a
totally different affair).

What do you think ?

-- 
- Phillip.

“To do a common thing uncommonly well brings success.”
_______________________________________________
The Uganda Linux User Group: http://linux.or.ug

Send messages to this mailing list by addressing e-mails to: [email protected]
Mailing list archives: http://www.mail-archive.com/[email protected]/
Mailing list settings: http://kym.net/mailman/listinfo/lug
To unsubscribe: http://kym.net/mailman/options/lug

The Uganda LUG mailing list is generously hosted by INFOCOM: 
http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The mailing list host is not responsible for them in any 
way.

Reply via email to