gonca16 0 Posted November 23, 2020 Report Share Posted November 23, 2020 (edited) Olá Como posso converter um int para string? Desde ja Obrigado Edited November 23, 2020 by gonca16 Link to post Share on other sites
rdolxd 7 Posted November 23, 2020 Report Share Posted November 23, 2020 Podes simplesmente usar o to_string(Int), em que Int é o inteiro que queres converter. Tens de fazer #include <string> para conseguir usar o to_string. Tens aqui um linq com essa informação:http://www.cplusplus.com/reference/string/to_string/ Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now