Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
int i = 0;i++; //i is now 1;i += i // i is now 2;i += i // i is now 4;
int power(int value, int loops){int numloop;int finalvalue = 0;if (loops > 0) { finalvalue = 1; for (numloop = 0; numloop < loops; numloop++) { finalvalue *= value; }}return finalvalue;}
#include "math.h"
Started by roboticwater Software
Started by pomprocker Misc
Started by Borot Software
Started by tdk93 Mechanics and Construction