LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I use a windows function ( _itoa() ) in LabWindows/CVI?

The exact function is:
char *_itoa( int value, char *string, int radix );
0 Kudos
Message 1 of 5
(3,798 Views)
Hello,
itoa is not an ANSI function; it's not a standard C function. Therefore, it is not supported by all compilers, unlike atoi.

You can use Fmt function in CVI. Please refer to LW/CVI Help file that ships with LW/CVI.

Mika Fukuchi
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,798 Views)
_itoa() is specific to Microsoft VC++ and some other compilers, it is not a Windows API function. You can use the CVI Fmt() or standard C sprintf() functions instead.

Martin.
--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 5
(3,798 Views)
Thank you very much! That is very helpful to know.
0 Kudos
Message 4 of 5
(3,798 Views)
Thank you!
0 Kudos
Message 5 of 5
(3,798 Views)