c++ - Difference between System::Convert::ToString() and std::to_string()? -
I am a complete Noah in Visual C ++ programming, so I do not know whether it makes sense or not. Well, I'm trying to change a label text to display in a form, so if I do this: int value_a = 1; Int value_b = 2; System :: String ^ J; J = System :: Convert :: ToString (value_a) + "," + System :: Convert :: ToString (value_b); Label 1 - & gt; Text = j; It works perfectly, but when I tried to do this: int value_a = 1; Int value_b = 2; System :: String ^ J; J = std :: to_string (valor1) + "," + std :: to_string (valor2); Label1-> Text = j; I get lots of errors ... what is the difference between using string j; or System :: string ^ j; between more functions System :: Convert :: Toasting (); and std :: to_string (); ???? system :: string ^ j; is a C ++ / CLI string that is the implementation of C ++ at the top of Microsoft's NAT framework so that you can communicate it with NIT languages (C #, VB.Net) and st...