What is the difference between String^ ans string | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is the difference between String^ ans string

There is no way to equal System::String^ with std::string in GUI applications. Where is the difference between them

6th Sep 2019, 10:18 AM
Arianit Halimi
Arianit Halimi - avatar
2 Réponses
0
I think System::String^ is a type managed by .NET and std::string is from the unmanaged standard library of C++ itself.
6th Sep 2019, 11:35 AM
Miquel Andreu Fuster Sancho
Miquel Andreu Fuster Sancho - avatar
0
while making cpp Gui programs you can also use std::string as a type
6th Sep 2019, 1:04 PM
Arianit Halimi
Arianit Halimi - avatar