Quick C++ question, how do I multiply? #include anything?

Keego

Diamond Member
Aug 15, 2000
6,223
2
81
this is for work, I am not a programmer, this is for marketing, treat me like a n00b.

I need to multiply:
i_mQLBUMPS
i_mQLDIE


can I use * ?
do I need to #include math.h or something?
can I just type " double ZPerc = m_iQLDIE * m_iQLBUMPS; "
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
* should work, i don't *think* you need to include math.h... try it and see if it works :p

oh and yea that code should work, just make sure your types are straight