骗子不可怕,就怕骗子有文化
对于汉语编程我实在是不想说什么,看看代码大家就明白。下面给大家来一段强大的”汉语编程”,大家就会认识到所谓的汉语编程是什么东东了。
#include "汉语编程核心模块"
对象定义开始(测试对象)
公有:
整型值;
对象定义结束
主程序开始
整型变量;
测试对象测试对象变量;
字符目录串[256];
测试对象变量.值= 5;
循环(变量= 0 ; 变量< 10; 变量++)
开始
打印("你好,汉语编程/n");
结束
取系统目录(目录串,256);
打印(目录串);
主程序结束
下面是“汉语编程核心模块”的具体内容
#ifndef __HANYU_H__
#define __HANYU_H__
#include <iostream>
#include <tchar.h>
#include <windows.h>
#define 主程序开始 int _tmain(int argc, _TCHAR* argv[]) {
#define 主程序结束 return 0; }
#define 循环 for
#define 整型 int
#define 字符 TCHAR
#define 字串 TCHAR *
#define 布尔型bool
#define 真 true
#define 假 false
#define 对象定义开始(x) class x {
#define 对象定义结束 };
#define 公有 public
#define 私有 private
#define 保护 protected
#define 开始{
#define 结束}
#define 取系统目录 GetWindowsDirectory
#define 打印(x) printf(x)
#endif
程序在VS2005 以VC++方式编译通过,看来我也可以拿中国科技进步一等奖了!呵呵