星期四, 2月 21, 2008

C/C++/CLR

#include

using namespace std;

int main(){


cout << "Hello World!" << endl;
return 0;
}


#include

int main() {

std::cout << "Hello World << endl;
returtn 0;
}


STL, Template , Handle , Garbage Collector

星期一, 2月 11, 2008

assembly

section .data
msg db 'Hello, world!',0xA
len equ $-msg

section .text
global _start
_start:
mov edx,len
mov ecx,msg
mov ebx,1
mov eax,4
int 0x80

mov ebx,0
mov eax,1
int 0x80

Hello world