Compilation comparison ~

Source: Internet
Author: User

1; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>
2; >>>> Hello, World >>> Size: 2.50 KB >>>>>>>
3; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>
4. 386
5. model flat, stdcall
6 option casemap: none
7 include windows. inc
8 include user32.inc
9 include kernel32.inc
10 bytes delib user32.lib
11 initialize delib kernel32.lib
12. data
13 szCaption db 'a MessageBox! ', 0
14 szText db 'hello, World! ', 0
15. code
16 start:
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 // compare the same functions with the forms written in 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 // different functions, which is written in 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 // The approximate meaning is written in VBS.
2 // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
3 // >>>>>> Start >>>> Size: 21 bytes >>>>>>>>>
4 // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
5 msgbox ("hello, world ")
6 // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
7 // >>>>>>>>>>>>> End >>>>>>>>>>>>>>>>>>
8 // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1 # include <iostream>
2int main ()
3 {
4std: cout <"Hello World \ n ";
5 return 0;
6}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.