// 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();
最新推荐文章于 2025-01-08 20:57:29 发布