LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to make sure I have a complete standard library in C? (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-sure-i-have-a-complete-standard-library-in-c-4175535442/)

AlexBB 03-01-2015 10:32 AM

How to make sure I have a complete standard library in C?
 
My environment is Ubuntu 12.04. I have g++ compiler to compile c++ files, however I feel there is something wrong with my complex.h header file. I ended up copying it to the directory where my source files reside. I am not even sure it is the correct version. Other header files seem OK, e.g. math.h, etc.

How can I make sure the standard C library is present?

Thanks, - Alex.

smallpond 03-01-2015 11:15 AM

complex.h is for C. Include complex for the C++ template class.

You can use debsums to check that your package files are correct.

AlexBB 03-01-2015 02:03 PM

I found it with locate command. It is installed. Thanks.


All times are GMT -5. The time now is 11:47 AM.