add <cstint.h> to project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add <cstint.h> to project

810 Views
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

Labels (2)
0 Kudos
Reply
1 Reply

806 Views
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 Kudos
Reply