-
April 27th, 2014, 08:27 AM
#1
Convert From C# To VC++
Hi Iam tryin to convert my Digit To Words class from c# to VC++... And the following line I am facing trouble
String^ strNum;
String^ strNumDec;
String^ StrWord;
strNum = Convert::ToString(Num); // Num is Decimal Parameter
blah..blah...blah...
StrWord = ((double.Parse(strNum) == 1) ? " Rupee " : " Rupees ") + NumToWord((decimal)(double.Parse(strNum))) + ((double.Parse(strNumDec) > 0) ? (" and Paise" + cWord3((decimal)(double.Parse(strNumDec)))) : "");
Thanks
-
April 27th, 2014, 09:35 AM
#2
Re: Convert From C# To VC++
The code snippet you have posted has nothing to do with VC++.
It is a managed C++ code. VC++ (visual) C++ is a native C++ code.
Victor Nijegorodov
-
April 27th, 2014, 09:58 AM
#3
Re: Convert From C# To VC++
Ok. Thank you Victor..I will change the title
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|