各种hello word

来源:百度文库 编辑:神马文学网 时间:2024/04/28 12:17:17
std::cout<<"hello world"<

#include
int main (void)

  printf(“hello word!\n”);
  return 0;

//手机输入:

public static void mian(Stirng[] args){
  System.out.println("Hello,World");
}

cout<<"hello\n";
System.out.ptintln("hello");
ptintf("hello");
alert("hello");
showmessage("hello");
MessageBox.show("hello");


Write:“hello”;

DATA SEGMENT ;
NOTE DB 'Hello World!',0ah,0dh,'$'
DATA ENDS ;
CODE SEGMENT ;
ASSUME CS:CODE, DS:DATA ;
BEGIN: MOV AX,DATA ;
MOV DS,AX ;
MOV DX,OFFSET NOTE ;
MOV AH,09H ;
INT 21H ;
MOV AH,4CH ;
INT 21H ;
CODE ENDS ;
END BEGIN
 
网上找的汇编版的。
C# code
namespace ConsoleApplication1{    class Program    {        static void Main(string[] args)        {            Console.Write("hello word!");        }    }}


System.out.println("Hello World");



cout<<"hello\n";
System.out.ptintln("hello");
ptintf("hello");
alert("hello");
showmessage("hello");
MessageBox.show("hello");