none
Conversion from C++ to C# RRS feed

  • Question

  • I need to convert const char* const x from C++ to its equivalent C# .How can I do this. ? I think string would be appropriate here.
    Thanks.
    Monday, April 30, 2018 10:14 AM

All replies

  • If that's within a method, then it's usually a string.

    If it's outside of a method, then this is a const pointer, so it's a readonly string.

    However, unlike most languages, in C++ you can never be 100% sure from the declaration alone.


    Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com)
    Instant C# - VB to C# Converter
    Instant VB - C# to VB Converter

    Monday, April 30, 2018 1:41 PM