Hi PvdG42!
What examples do you want to see?
It is no big problem to translate C# into C++/CLI...
For example:
BigInteger negativeNumber = -1000000;
BigInteger positiveNumber = 15777216;
string negativeHex = negativeNumber.ToString("X");
string positiveHex = positiveNumber.ToString("X");
BigInteger negativeNumber2, positiveNumber2;
negativeNumber2 = BigInteger.Parse(negativeHex,
NumberStyles.HexNumber);
positiveNumber2 = BigInteger.Parse(positiveHex,
NumberStyles.HexNumber);
Console.WriteLine("Converted {0:N0} to {1} back to {2:N0}.",
negativeNumber, negativeHex, negativeNumber2);
Console.WriteLine("Converted {0:N0} to {1} back to {2:N0}.",
positiveNumber, positiveHex, positiveNumber2);
=>
BigInteger negativeNumber = -1000000;
BigInteger positiveNumber = 15777216;
String^ negativeHex = negativeNumber.ToString("X");
String^ positiveHex = positiveNumber.ToString("X");
BigInteger negativeNumber2, positiveNumber2;
negativeNumber2 = BigInteger:
arse(negativeHex,
NumberStyles.HexNumber);
positiveNumber2 = BigInteger:
arse(positiveHex,
NumberStyles.HexNumber);
Console::WriteLine("Converted {0:N0} to {1} back to {2:N0}.",
negativeNumber, negativeHex, negativeNumber2);
Console::WriteLine("Converted {0:N0} to {1} back to {2:N0}.",
positiveNumber, positiveHex, positiveNumber2);
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/