strtod() problems

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,733件の閲覧回数
mikey1
Contributor III
I have been building code for the 9S12X processor and only using the integer library.  I now have a need to deal with floating point and so swapped out the lib from ansixli.lib to ansixlf.lib
 
when I try to use the strtod() function I get the wrong results and the function writes over the top of the string that I am trying to parse at the point where the asci representation of the floating point number ends.
 
any recomendations?
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
981件の閲覧回数
mikey1
Contributor III
I just answered my own question.  I had selected the wrong floating point lib.  I should have used "ansixl.lib" instead of  "ansixlf.lib"
 
I hope this mistake helps someone else
 
 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
982件の閲覧回数
mikey1
Contributor III
I just answered my own question.  I had selected the wrong floating point lib.  I should have used "ansixl.lib" instead of  "ansixlf.lib"
 
I hope this mistake helps someone else
 
 
0 件の賞賛
返信