hello guys,
i was with one of the problem where i was forced to use atof function. the problem here is, it returns me 0.0 always which mean there in an error while converting it. can any on tell me at what instance will the atof generator error. here is the peice of code where i used the atof function

Code:
 for(ctr=1;ctr<=argc;ctr++)
   {
    converted[ctr-1]=atof(*argv[ctr]);
   }
any examples of atof error will be appriciated

s.s.harish