Cast and compile tests in Xcode using Core C - Input/Output Library and Standard Template Library