dimanche 25 mars 2018

Libraries inclusion,while coding in C++ in XCode

While doing my class assignment in XCode I faced the following: The program I created, compiles and runs with no errors and works properly without included libraries like cstdlib & ctime, even though it contains rand and time functions in it. As well, chrono, string and cctype library features like .length() or isdigit seem to be working well without those libraries included too. The only library my program wasn’t compiling without was cmath, because it contained fabs function in it.

How is that possible? Is it because of the fact that XCode uses Clang compiler?

Aucun commentaire:

Enregistrer un commentaire