00001 #include <stdiostream.h> 00002 #include <math.h> 00003 00004 main() 00005 { 00006 double x = M_PI; 00007 cout.write((unsigned char *)&x+4, 4); // second 4 bytes 00008 }