G
Guest
in <AUP>
#include <unistd.h>
define BUFFSIZE 8192
char buf [BUFFSIZE];
write( STDOUT_FILENO, BUF, BUFFSIZE);
////////////////////////////////////////////
if i want to put double ,what shall i do?
double aa =11.0;
write(STDOUT_FILENO, (void *)&aa , sizeof(double));
it put &@ .......
thanks
#include <unistd.h>
define BUFFSIZE 8192
char buf [BUFFSIZE];
write( STDOUT_FILENO, BUF, BUFFSIZE);
////////////////////////////////////////////
if i want to put double ,what shall i do?
double aa =11.0;
write(STDOUT_FILENO, (void *)&aa , sizeof(double));
it put &@ .......
thanks