+ 3
Convering char to std::string
I need to convert char to std::string in my C++ project. I type: string(x[j]) (x is the array of symbols and j is the counter) but compiler says that it is not possible to do that. Can somebody help me?
4 ответов
+ 2
Martin Taylor
Glad to see you back, the community feels a bit empty without you
+ 1
Martin Taylor hello again after 9days :)
i have asked you some days ago an you didn't notice it.
i hope you notice this message and can see below link on your web browser.
https://www.sololearn.com/Discuss/2909287/?ref=app
+ 1
Martin Taylor oh. great.
if you are trying to mention someone use this method:
text for hilight in the app
i didn't test this in browser but this works well in the app.
typing @ is just a mathod for opening suggestions table in the app.
0
Smile Smile look at a piece of my code https://www.sololearn.com/post/1355549/?ref=app