How to Fix printf("%f) issue in CW 10.6 or CW 11.0?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Fix printf("%f) issue in CW 10.6 or CW 11.0?

ソリューションへジャンプ
1,208件の閲覧回数
tholkapiyanv
Contributor II

Hi

How to solve following Problem?

   float  a = 5.628;

   printf("\n A Value :%f",*a);   

 

Output:

A Value : f

i tried CW10.6 and CW 11.0

Project Setting  Changed but doesn't work.

( Project --> Properties --> C/C++ Build --> Setting --> Librarian --> Print Formats int_FP )

how to fix this issue?

Kindly anyone give me the solution.

Thanks & Regards,

V.Tholkapiyan

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,032件の閲覧回数
tholkapiyanv
Contributor II

Hi Erich Styger,

      Thanks for your reply.

      Hi i got it answer

      use sprintf() function and

      Project --> Properties --> C/C++ Build --> Setting --> Librarian --> Print Formats int_LL_FP 

      Project --> Properties --> C/C++ Build --> Setting --> Librarian --> scan Formats int_LL_FP 

above changes i got it.

Thanks & Regards

   V.THOLKAPIYAN

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,033件の閲覧回数
tholkapiyanv
Contributor II

Hi Erich Styger,

      Thanks for your reply.

      Hi i got it answer

      use sprintf() function and

      Project --> Properties --> C/C++ Build --> Setting --> Librarian --> Print Formats int_LL_FP 

      Project --> Properties --> C/C++ Build --> Setting --> Librarian --> scan Formats int_LL_FP 

above changes i got it.

Thanks & Regards

   V.THOLKAPIYAN

0 件の賞賛
返信