Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-01-2015, 10:32 AM   #1
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
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.
Old 03-01-2015, 11:15 AM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
complex.h is for C. Include complex for the C++ template class.

You can use debsums to check that your package files are correct.
Old 03-01-2015, 02:03 PM   #3
Registered: Mar 2014
Posts: 464

Original Poster
Rep: Reputation: Disabled
I found it with locate command. It is installed. Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
_mbsbtype() in standard library. jaepi Programming 1 12-13-2007 10:22 AM
'sort' fn. in C++ standard library frankie_DJ Programming 2 12-14-2004 02:27 PM
standard library for graphics jpostma Programming 3 07-19-2004 06:13 AM
Sockets and standard I/O library failure_to Programming 0 05-22-2004 11:55 AM
C++ standard library. Thetargos Programming 8 10-09-2003 03:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration