++math in C