22
11月
2021
文件源码下载:
ueditor1_4_3_3-utf8-asp.zip下载 syntaxhighlighter-3.0.90.zip下载 syntaxhighlighter_3.0.83下载
效果演示:
Javascriptfunction hello(){ var hello="hello world!"; return hello; } alert(hello()); | php//php Helloworld! $hello="Helloworld!"; echo $hello; |
Javapublic class HelloWorld { /** * 输出一行字符串“Hello World!” * @param args */ public static void main(String[] args) { System.out.println("Hello World!"); } } | C#(.NET)using System; // A "Hello World!" program in C# namespace HelloWorld { class Hello { static void Main() { System.Console.WriteLine("Hello World!"); } } } |
C、C++#include using namespace std; int main(){ cout<<"helloworld"<<endl; cout<<"你好,世界!"<<endl; return 0; } | ActionScript//定义一个字符串str,其值为Hello world var str:String="Hello world"; //定义一个函数,为clickEvent var clickEvent:Function=function(){ //此函数触发之后,把Label1的文本改成str Label1.text= str; //然后向控制台输出str trace(str); } //之后为Button1添加点击事件的监听器,为clickEvent这个函数 Button1.addEventListener("click",clickEvent); |
Python#-*-coding:utf-8-*- print("你好,世界!"); | Visual Basic、ASP(Vbscript)'指明在窗体加载的时候,标签1的内容为Helloworld Private Sub Form_Load() Label1.Caption = "Helloworld" End Sub |
SQLselect * from Hello; insert into Hello values ('w','o','r','l','d'); --update for,delete from就不写了…… | HTML、XMLHello Hello world! |
其它(主要用于放命令行代码等)copy d:\test\test.txt d:\1.txt | …… |