#include "stdafx.h"
using namespace System;
class Calculater; // how to tell the compiler that the class is down there?
int main(array<System::String ^> ^args)
{
::Calculater *calculater = new Calculater();
return 0;
}
class Calculater
{
public:
Calculater()
{
}
~Calculater()
{
}
};
我在 main 之后声明了类,我如何告诉编译器我的类是什么?我试过
类Calculator;在 main 之前,但它不起作用。