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 #392570 is a reply to message #392562] Sat, 27 June 2009 12:55 Go to previous messageGo to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma:
General (4 Stars)
Omar007 wrote on Sat, 27 June 2009 12:05

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

*b Razz
 
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:37:51 MST 2024

Total time taken to generate the page: 0.01152 seconds