gonca16 Posted November 23, 2020 at 09:54 AM Report Share #620292 Posted November 23, 2020 at 09:54 AM (edited) Olá Como posso converter um int para string? Desde ja Obrigado Edited November 23, 2020 at 11:30 AM by gonca16 Link to comment Share on other sites More sharing options...
RicardoLopes Posted November 23, 2020 at 12:19 PM Report Share #620305 Posted November 23, 2020 at 12:19 PM 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 comment Share on other sites More sharing options...
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