version 1.24, 2001/03/01 14:09:26
|
version 1.25, 2001/03/01 14:20:56
|
Line 40 static int rand() {
|
Line 40 static int rand() {
|
extern double atof(const char *c); |
extern double atof(const char *c); |
|
|
int main(int argc,char *argv[]) { |
int main(int argc,char *argv[]) { |
struct hostent *foo=gethostbyname("knuth.fefe.de"); |
struct hostent *foo=gethostbyname("zeit.fu-berlin.de"); |
/* if (foo) |
if (foo) |
printf("%s -> %s\n",foo->h_name,inet_ntoa(*(struct in_addr*)foo->h_addr)); */ |
printf("%s -> %s\n",foo->h_name,inet_ntoa(*(struct in_addr*)foo->h_addr)); |
/* printf("%g %g\n",1e-10,1e10); */ |
/* printf("%g %g\n",1e-10,1e10); */ |
#if 0 |
#if 0 |
double d=0.0; |
double d=0.0; |