dilbert's rule

hi guys i have an assignment in which i am supposed to create a c++ program which obeys the rule and is used in the financial world.the rule states that when shares of a company goes up thrice then down once,the shares should be sold and when the shares go down thrice then up once,the shares should be purchase....i have already come up with the algorithm but i dont know how to write the code...can you help me....thanks in advance
Last edited on
Well, learning C++ is obviously the first step:
http://www.amazon.com/Primer-4th-Stanley-B-Lippman/dp/0201721481
thank you very much Athar....can you please give me links to websites which will be helpful to me as a beginner...most preferably those that give the definitions of the words used...thank you
You only need that book and maybe a C++ forum if questions come up while you're working through it.
And the C++ reference on this site, the boost documentation and whatever else you work with.
Last edited on
thank you very much i hope we can communicate so u can help me out as programming is not very common in my country...once again,thank you
Topic archived. No new replies allowed.