'String' has not been declared error

MoFanFr:
Simple function aren't implemented.

Sure they are. Look at all those useful functions at the link Robin2 provided. You will find more here:
http://www.cplusplus.com/reference/cstdlib/