Please explain a C++ statement

  • Thread starter Thread starter MyCatAlex
  • Start date Start date
M

MyCatAlex

Guest
private: System::Void PushAction_Click(System::Object^ sender, System::EventArgs^ e)
{
cli::array<System::String ^> ^args;
std::cout << "Hello\n\n";
// int ext = main(args);
}

The statement cli::array.... contains two carets. What are they doing there? Are they like pointers?

I get a syntax compile error on this statement saying that args is undefined variable. Why? I think this statement is a definition. How to define it? I tried various methods to no avail.

Thanks, - MyCatAlex

Continue reading...
 
Back
Top