stdio.h

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,684件の閲覧回数
schakoma
Contributor I

Hello. I am trying to read and write integers to a file using the getw() and putw() using the stdio.h. However each time I use these functions I get an error: no reference to putw() or getw(). How can I add these functions to stdio.h or are there other functions I can use to write integers to files. I am using MCUXpresso v11

0 件の賞賛
返信
1 解決策
2,673件の閲覧回数
ErichStyger
Specialist I

Are you using a semihosting library? For example:

ErichStyger_0-1644309539973.png

Otherwise: I wrote recently about that topic here: https://mcuoneclipse.com/2022/01/25/semihosting-with-nxp-mcuxpresso-sdk-and-frdm-ke02z/

I hope this helps,

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,674件の閲覧回数
ErichStyger
Specialist I

Are you using a semihosting library? For example:

ErichStyger_0-1644309539973.png

Otherwise: I wrote recently about that topic here: https://mcuoneclipse.com/2022/01/25/semihosting-with-nxp-mcuxpresso-sdk-and-frdm-ke02z/

I hope this helps,

Erich

0 件の賞賛
返信