September 7th, 2003, 09:13 PM
Library Function Source
Is there any way to get the source for library functions ? I'm just interested in what it would take to write all functions for yourself.
September 7th, 2003, 09:54 PM
yes, im assuming your in windows using MSVS, browse to:
Program Files\Microsoft Visual Studio\VC98\Include\
in *nix: /usr/include
Last edited by infamous41md; September 8th, 2003 at 07:36 PM.
September 8th, 2003, 01:01 AM
Ahem, include != lib
The files in the include dirs are the header files, which contain mostly function prototypes and #define constants. If you're looking for the actual library source, here's where you need to go:
Program Files\Microsoft Visual Studio\VC98\MFC\SRC
Look in your distro CD set to see if they include the source RPMs (SRPMS) or download the sources for gcc's libc from the web.
Hope this helps :)
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 8th, 2003, 10:38 AM
Just so you're prepared, the source for VC++ libraries has a tendency to be fugly.
September 8th, 2003, 03:44 PM
cool thanks i'll take a look :)
September 8th, 2003, 05:47 PM
What file would have lets say... the printf() source ?
September 8th, 2003, 08:33 PM