Thread: C++/CLI char[] to System::String

  1. #1
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006

    C++/CLI char[] to System::String

    How can I do this?
    p[]="Hi guys";
    System.String^ st=p;
    Something like that.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. question regarding char *argv[]
    By cnb in forum C Programming
    Replies: 6
    Last Post: 10-08-2008, 04:50 AM
  2. Char[] of C# to what in C++
    By Arkanos in forum C++ Programming
    Replies: 3
    Last Post: 02-13-2006, 08:10 AM
  3. files size to char[]
    By purefan in forum C++ Programming
    Replies: 1
    Last Post: 04-03-2005, 08:43 PM
  4. Replies: 18
    Last Post: 06-21-2003, 10:57 AM
  5. int main(int argc, char *argv[]) ?
    By Shadow12345 in forum C++ Programming
    Replies: 6
    Last Post: 04-22-2002, 04:50 PM