Convert From C# To VC++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: Convert From C# To VC++

  1. #1
    Join Date
    Dec 2011

    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

    StrWord = ((double.Parse(strNum) == 1) ? " Rupee " : " Rupees ") + NumToWord((decimal)(double.Parse(strNum))) + ((double.Parse(strNumDec) > 0) ? (" and Paise" + cWord3((decimal)(double.Parse(strNumDec)))) : "");


  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    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

  3. #3
    Join Date
    Dec 2011

    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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This a survey!

On-Demand Webinars (sponsored)