Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cetest.cc File Reference

#include "rcs_ce.h"
#include <stdio.h>

Include dependency graph for cetest.cc:

Include dependency graph

Go to the source code of this file.

Functions

 main ()


Function Documentation

main  
 

Definition at line 7 of file cetest.cc.

00008 {
00009   char buf[40];
00010 
00011   while(1)
00012     {
00013       printf("Enter number:\n");
00014 
00015       fgets(buf,40,stdin);
00016 
00017       double d1 = RCS_CE_ATOF(buf);
00018       double d2;
00019 
00020       sscanf(buf,"%lf",&d2);
00021 
00022       printf("%f %f %d\n", d1,d2,(d1 == d2));
00023     }
00024 }


Generated on Sun Dec 2 15:56:57 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001