Steven Cohen

Adding #include <extras.h> into CW project so I can use ltoa function

Discussion created by Steven Cohen on Feb 23, 2013
Latest reply on Feb 24, 2013 by Jim Donelson

Hack programmer here.  Need to convert 32 bit integer to string.  Found ltoa function in MSL reference and it looks like it will perform this perfectly.

 

I can't seem to add the extras.h to the project include path to make the compiler happy.  It keeps complaining that there is no such directory or file.

 

Here is the exact path C:\Freescale\CW MCU v10.3\MCU\ARM_GCC_Support\ewl\EWL_C\include\extras

Outcomes