I found this Python formula:

same formula (javascript)Code:(x + 300 * math.pow(2, float(x)/7) )

and i want to make it a C++ formula.. im a bigginer and i have no clue how to do powers and stuff.Code:Math.floor(x + 300 * Math.pow(2, x / 7))

could som1 please help me?

Thanks,

Demon1s