Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 Discussions

Convert pxcI32 and pxcF32 to Int, Float and String?

NMinh1
Novice
1,944 Views

I'm sorry to have sent a basic question. But I just started C ++ programming and can not convert pxcI32 and pxcF32 into strings.

Can someone help me?

Thank you

0 Kudos
5 Replies
AlHill
Super User
633 Views

You will need to ask your question in the developer https://software.intel.com/en-us/forum Forums

Doc

0 Kudos
MartyG
Honored Contributor III
633 Views

In C# and C++, values can be converted to strings using an instruction called to_string

http://www.cplusplus.com/reference/string/to_string/ to_string - C++ Reference

AlHill
Super User
633 Views

Whoops... I should have paid attention to where he was asking. Thanks for correcting.

Doc

0 Kudos
NMinh1
Novice
633 Views

Thank you.MartyG

You helped me alot.

0 Kudos
MartyG
Honored Contributor III
633 Views

You're totally welcome. Glad I could help!

0 Kudos
Reply