字符串數組之間的轉換

字符串轉數字: 1)         string -> double ;         double = atof ( s. _str( ) ) ; 2)         char str[]= "123" ;         int a ;         sscanf( str, "%d", &a ) ;         char  str[]= "123.123" ;         f
相關文章
相關標籤/搜索