K
Kevin Burton
I have the following code:
Trace::WriteLine(String::Format(S"{0} {1} {2} {3}",
Marshal:trToStringAnsi(s->Line1),
Marshal:trToStringAnsi(s->Line2),
Marshal:trToStringAnsi(s->Line3),
Marshal:trToStringAnsi(s->Line4)));
But the compiler complains that there is no overload for
String::Format that takes 5 arguments. With C# this is
rather simple. I am not sure how to proceed with C++. Any
suggestions?
Thank you.
Kevin
Trace::WriteLine(String::Format(S"{0} {1} {2} {3}",
Marshal:trToStringAnsi(s->Line1),
Marshal:trToStringAnsi(s->Line2),
Marshal:trToStringAnsi(s->Line3),
Marshal:trToStringAnsi(s->Line4)));
But the compiler complains that there is no overload for
String::Format that takes 5 arguments. With C# this is
rather simple. I am not sure how to proceed with C++. Any
suggestions?
Thank you.
Kevin