原创 將一個char型的數組裏面的數提取出來組合成Int型數

int slo(char *s)//將字符串轉變成int型數 { int len=strlen(s); int sum = 0; for(int i = len - 1, j = 0; i >= 0; --i, +