Which library? Or:what's in the libs?

Code junkies hangout here

Moderators: ChrisThornett, LXF moderators

Which library? Or:what's in the libs?

Postby Dutch_Master » Sun Feb 14, 2010 5:34 pm

I'm trying to get to grips with C++ (with the Stroustrup book) and so far, so good. I understand the concept of linking to libraries for certain functions, but where can I find which library holds a particular function?

Pretty basic, I know, but if you wanna learn to cook, you gotta know what the ingredients do ;)
Dutch_Master
LXF regular
 
Posts: 2449
Joined: Tue Mar 27, 2007 1:49 am

Postby Dutch_Master » Tue Feb 16, 2010 8:23 pm

Nobody? :cry:
Dutch_Master
LXF regular
 
Posts: 2449
Joined: Tue Mar 27, 2007 1:49 am

Postby Bazza » Tue Feb 16, 2010 9:05 pm

Hi DM...

Not sure if this is what you want but........

Just Google the #include(s) in your program and there is
plenty of info...

For example...

#include <time.h>

Search for "time library c++" without the quotes...

If you want the functions in #include <stdio.h> then
search for "stdio library c++" without the quotes...

K&Rs C Programming Language is a very thorough look
at C and its derivatives and a lot of the standard libraries
although a little out of date in my copy...

Hope this helps...
73...

Bazza, G0LCU...

Team AMIGA...
User avatar
Bazza
LXF regular
 
Posts: 1476
Joined: Sat Mar 21, 2009 11:16 am
Location: Loughborough


Return to Programming

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests