// newRun.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
class A
{
public:
void sayhi()
{
printf("Hello World!\n");
}
};
int main(int argc, char* argv[])
{
(new A())->sayhi();
return 0;
}
/*
Hello World!
Press any key to continue
*/
(new A())->sayhi();
最新推荐文章于 2021-03-31 18:49:01 发布