Hi all,
I'm trying to create a method in managed c++ which will convert an int to a string representation of binary.
I have done this in C# before, but I can't work out how to do it in Managed C++
Below is the code from my C# effort that worked.
Scott
// This is C# Code
public string intToBinary(int convertThis)
{
string converted = Convert.ToString(convertThis, 2);
return converted;
}