闲。。。

#include<stdio.h>

#define Class(c) class c{

#define EndC };

#define Show(p) p:

#define Function(name,callback) callback name{

#define EndFunction }


Class(Hello)

Show(public)

    Function(output(),void)

        printf("Hello World\n");

扫描二维码关注公众号,回复: 2235328 查看本文章

    EndFunction

EndClass


Function(main(),int)

    Hello hello;

    hello.output();

    return(0);

EndFunction

猜你喜欢

转载自blog.csdn.net/qq_28415339/article/details/51823580
今日推荐