hey, i have about 3 years experience in php so im no stranger to programming and the c++ syntax is not new to me at all. I have been dabbling in c++ here and there. anyway, i am making a program to calculate the amount of clicks needed to zero the scope on my airsoft gun (not a real gun). i just need to know if there is a function that could turn a negative number into a positive? also, there is a php manual that is basically an index of all php functions (http://www.php.net/manual/en/) i was wondering if there was a c++ equivalent or anything similar?

thanks for your time, evan