string array ?
-
I am using a sample / example C++ (?) code and run into this, new to me , expression
array^ DirMag;
I can ask Mrs Google. she knows stuff like that, but like to know if there are major advantages in using "string" array instead of customary C++ defined variable types. In this example I would rather use "uint32_t" if it does not matter much. Thanks Cheers
-
I am using a sample / example C++ (?) code and run into this, new to me , expression
array^ DirMag;
I can ask Mrs Google. she knows stuff like that, but like to know if there are major advantages in using "string" array instead of customary C++ defined variable types. In this example I would rather use "uint32_t" if it does not matter much. Thanks Cheers
This looks like "Managed C++", Microsoft's mutilation of C++ so that it fits into the .NET environment. IIRC, it was written as a "gateway drug" to get Standard C++ programmers to use the .NET environment, eventually graduating to C#.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
This looks like "Managed C++", Microsoft's mutilation of C++ so that it fits into the .NET environment. IIRC, it was written as a "gateway drug" to get Standard C++ programmers to use the .NET environment, eventually graduating to C#.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.
-
Thanks. It is going to be an uphill battle to convert whatever it is to plain C++. Will keep me of the street.
It's C++/CLI the ^ denotes a handle to a reference. C++/CLI - Wikipedia[^] The key point to understanding it
Quote:
Operator overloading works analogously to standard C++. Every * becomes a ^, every & becomes an %, but the rest of the syntax is unchanged
You need to reverse that to turn it into C++ code you would recognize. I suggest you also want int32_t not uint32_t as just from it's name I am guessing it is a signed direction
In vino veritas