C语言,字符串转换
C语言,字符串转换
  日期:2013-01-06 12:57:53 人气:2
  
  #include#include
int main(){
 double calcu(char *str);
 double convertToDouble(char *str,int n);
 char strdes[50];
 gets(strdes);
 printf("%.4f\n",calcu(strdes));
 calcu(strdes);
 return 0;
} 
double convertToDouble(char *str, int n){
 doubl
      