error c4430 missing type specifier int assumed
#include "stdafx.h"
#include <iostream>
using namespace std;
main()
{
int *p;
p=new int;
if(!p)
{cout<<"allocation failure\n";
return 1;
}
*p=20;
cout<<*p;
return 0;}
error c4430 missing type specifier int assumed 谁能告诉我怎么回事啊? 怎么改法