As xpi0t0s told Objective C is not the same as c or c++.