links - C, C++, gcc [links - soft] [links] [home] [search

C

C programming reference
comp.lang.c FAQ
perl script extracting struct declartions from C source

to deal with large (>=2GB) files:
#define _LARGEFILE_SOURCE and #define _FILE_OFFSET_BITS 64 (prior #include <stdio.h>) and use fseeko() and ftello() instead of fseek() and ftell() respectively.

The GNU C Library manual.

C++

STL doc: [cgi.com] [cplusplus.com]
comp.lang.c++ FAQ (take with grain of salt!)

to get bits representation of double:
unsigned long* ulp = (unsigned long*)&n;
bitset<32> bits_less_signif (*ulp);
ulp++;
bitset<32> bits_most_signif (*ulp);
cout << bits_most_signif << bits_less_signif << endl;

gcc

gcc problems



created Mar 24 2006
last updated Fri Sep 19 21:49:22 GMT 2008