编译对比~

 1;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 2;  >>>>    Hello,World >>>Size:2.50 KB>>>>>>>
 3;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 4            .386
 5            .model flat,stdcall
 6            option casemap:none
 7include     windows.inc
 8include     user32.inc
 9include     kernel32.inc
10includelib  user32.lib
11includelib  kernel32.lib
12            .data
13szCaption   db  'A MessageBox !',0
14szText      db  'Hello, World !',0
15            .code
16start:
17            invoke  MessageBox,NULL,offset szText,offset szCaption,MB_YESNO or MB_ICONWARNING
18            invoke  ExitProcess,NULL
19            end start
20;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
21;>>>>>   End >>>>> Process   >>>>> >>>>>>>
22;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 1//一样的功能 用 C 写出来的窗体的做个比较!
 2//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 3//>>>>>> Start >>>>Size:15.9 KB >>>>>>>>>
 4//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 5#include<windows.h>
 6int main(void)
 7{
 8     MessageBox(0,"Hello,World!",0,4);
 9     return 0;
10}

11//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
12//>>>>>>  >>>>>>> End  >>>>>> >>>>>>>>>>>
13//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 1//功能不一样,大概意思用 C 写出来的
 2//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 3//>>>>>> Start >>>>Size:15.2 KB >>>>>>>>>
 4//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 5#include<stdio.h>
 6int main(void)
 7{
 8    printf("Hello,World");
 9}

10//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
11//>>>>>>  >>>>>>> End  >>>>>> >>>>>>>>>>>
12//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1//大概意思用 VBS 写出来的
2//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
3//>>>>>> Start >>>>Size:21 字节 >>>>>>>>>
4//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
5msgbox("hello,world")
6//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
7//>>>>>>  >>>>>>> End  >>>>>> >>>>>>>>>>>
8//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1#include<iostream>
2int main()
3{
4std::cout << "Hello World\n";
5return 0;
6}
posted @ 2008-04-26 12:57  090  阅读(426)  评论(1编辑  收藏  举报
如有任何的意见和建议,请 E-mail 至 to090@yahoo.com
建议使用 IE 6.0 或 FireFox 2.0 以上版本进行浏览,最佳显示 1024 * 768