加载中…
  
博文
标签:

c语言

stdio.h

x77

x43

with

教育

分类: 专业知识


 

This page combines two things I like: 'Hello, World!' programs and obfuscated C programs. The following programs should all compile with GCC and the Borland command line compiler for Windows (bcc32).


hello1.c

 #define _________ }     #define ________ putchar     #define _______ main     #define _(a) ________(a);     #define ______ _______(){     #define __ ______ _(0x48)_(0x65)_(0x6C)_(0x6C)     #define ___ _(0x6F)_(0x2C)_(0x20)_(0x77)_(0x6F)     #define ____ _(0x72)_(0x6C)_(0x64)_(0x21)     #define _____ __ ___ ____ _________     #include<stdio.h>     _____ 

hello2.c

 #include<stdio.h>     main(){       int x=0,y[14],*z=&y;*(z++)=0x48;*(z++)=y[x++]+0x1D;       *(z++)=y[x++]+0x07;*(z++)=y[x++]+0x00;*(z++)=y[x++]+0x03;       *(z++)=y[x++]-0x43;*(z++)=y[x++]-0x0C;*(z++
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有