Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

convertir string en int

Hola,

con la funcion sprintf() convertimos un Integer en un string, mi pregunta es cómo convertimos un string en un integer. Existe alguna función en Labwindows que reemplaza al itoa() de C?

Saludos.

Abel.

0 kudos
Mensaje 1 de 2
3.334 Vistas

Para sacar números de los textos puedes usar la funcón estándard sscanf () del C u también Scan () en la Formatting and I/O Library.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 kudos
Mensaje 2 de 2
3.333 Vistas