Re: Managed C++ Classes

Tech-Archive recommends: Fix windows errors by optimizing your registry



<peter.mcclymont@xxxxxxxxx> wrote

public String^ ReverseString::ReturnReverseString()
As the error message suggest this should be
public: /* note, the colon */

.\Reverse.cpp(17) : error C2144: syntax error : 'System::String' should
be preceded by ':'

-hg


.