How to Translate the Code?

G

Guest

Hi

The following source is written in VB. Now I want to covert this source code
to VC++ .NET. Could you please try to do this translation someone who have
knowledge in VB and C++?

Function Convert(ByVal MyNumber)
Dim DecimalPlace, Temp

DecimalPlace = InStr(MyNumber, ".")

Temp = Left(Mid(MyNumber, DecimalPlace + 1) & "00", 2)
 
G

Guest

I would look at Lutz Roeder's Reflector. I am not sure if it decompiles
assemblies to C++, but I know it does C#, VB.NET and Delphi. It is worth a
shot.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top