views:

159

answers:

1

For example:

Let's say we have a class called MyClass.

String^ MyClass::GetSomeInfoForExamplePuprs( int InfoNumber ) { }

or

static String ^GetOtherInfoExample() { }

or

String ^GetOtherInfoExample(object *Something) { }

I saw it in source code and can't figure it out.

+25  A: 

The asterisk (*) indicates a pointer.

The caret (^) is not C++. It is C++/CLI, and indicates a managed handle (that is, a "pointer" to an object on the managed heap).

James McNellis