Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » I Learn Some Basic C++!
Re: I Learn Some Basic C++! [message #392562 is a reply to message #392551] Sat, 27 June 2009 12:05 Go to previous messageGo to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma:
General (1 Star)
SSnipe wrote on Sat, 27 June 2009 20:50

thanks for tips guys, i know im dumb to get confussed on the order of how to do the muliplication, but you say do the order, so i guesss that means the first number i want anythign done wioth i should put into brackets then lets say * 100? but does it matter which direction u right the code? like

<< (a + b + c) *100

or

<< 100 * (a + B + c)


and lets pretned the answer is 2000 which one will come out with the right one? is

they both do unless the capital B in the second example is another variable Razz
Guess that was supposed to be a 'b' also Smile


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Your daily commute to work!
Next Topic: Virus
Goto Forum:
  


Current Time: Fri Nov 29 01:42:06 MST 2024

Total time taken to generate the page: 0.01250 seconds