作者oatmeow (公主病)
看板EE_DSnP
標題[問題] hw7
時間Sat Dec 6 08:33:46 2008
想請問一下
unsigned _precision;
_precision 究竟是 unsigned 的什麼type?
unsigned int? unsigned char??
還有就是 如果根據題意是unsigned int
那 要用readValue()來將字串轉換成double
但裡面的data member沒有string的這個type
readValue()也沒有傳string進去
這樣如何使用readValue()來transform the type
因為題意最底下又要求 盡量不要自己加data member
---------------------------------------
沒講解作業有時候看題目會搞不懂Orz
謝謝教授答覆
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.116.42.90
1F:推 ric2k1:好, 我用下一篇回 12/06 09:32