标签:div main nbsp int oat char span [] wchar_t
#include <wchar.h> int main () { wchar_t szOrbits[] = L"365.24 29.53"; wchar_t * pEnd; double d1, d2; d1 = wcstod (szOrbits,&pEnd); d2 = wcstod (pEnd,NULL); wprintf (L"%f-------%f\n", d1,d2); return 0; }
输出
365.240000-------29.530000
标签:div main nbsp int oat char span [] wchar_t
原文地址:https://www.cnblogs.com/sea-stream/p/10823149.html