add <cstint.h> to project

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

add <cstint.h> to project

1,210件の閲覧回数
Eggord
Contributor I

Dear all,

 

i have a "stupid" question. I'm pretty new to LPCXpresso and i just need to use it for a small side project.

For my code i need to add some standart c++ libraries, like <cstint.h>.But i just cannot find where/how to add it. I guess it is shipped with the IDE?

Thanks so much!

 

All the best,

Jan

ラベル(2)
0 件の賞賛
返信
1 返信

1,206件の閲覧回数
frank_m
Senior Contributor III

> For my code i need to add some standart c++ libraries, like <cstint.h>.

A header file is not a library. You would realize that latest at link stage. C++ comes also with separate link libraries (*.a), and different startup code.

The best option is to select a C++ project from the beginning, and the IDE will add the proper headers, libraries and startup code by default.

To be honest, I did only C projects with LPCXpresso up to now. And AFAIK, most SDK examples are standard C, too.

0 件の賞賛
返信