[問題] calcModNum.h的getStrVal判斷

看板EE_DSnP作者 (Sirius)時間16年前 (2008/04/10 23:30), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
// If 's' is a valid variable name, return "getVarVal(s, n)"; // else if 's' is a number, convert it to ModNum (e.g. by "myStr2Int") and // assign to 'n' 在這邊我想請問一下,如何檢查string 裡面是不是int呀。 有特別的指令嗎?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.248.196

04/10 23:32, , 1F
Please take a look at the files in "util" directory!!
04/10 23:32, 1F

04/10 23:36, , 2F
喔..我找到了 ~"~ 謝謝老師..
04/10 23:36, 2F
文章代碼(AID): #17_ZATF6 (EE_DSnP)