c++

Hello!!! I have a job select a substring that matches an entry of a real number with fixed and floating point numbers:
for(i=0;i<=k;i++)

{

if((st1[i]>='0')&&(st1[i]<='9'))

{

t=atof(&st1[i]);

gcvt(t,10,st2);

cout<<t<<" ";

l=strlen(st2);

i=i+l;

}

}
but it is not working properly since I have only lists of fixed-point. how to do that even with the floating-point?
Topic archived. No new replies allowed.