menu
Width Mode: Fixed Font size: Small | Normal | Large

Hello world!

第一篇文章总是要有些来龙去脉,就如同第一个程序总是要来个Hello world!一样。
以前不止一次搭建过wordpress,但最终都宣告失败。原因多种多样,忙碌者有之,兴尽者有之,或者,无墨者亦有之。但终究是不想放弃的。
过去的几年,学了很多,但都疏于梳理,以至荒废。

VB C C++ Java C# XHTML+CSS JavaScript PHP ActionScript Ruby Perl
Photoshop Flash Fireworks Illustrator CorelDRAW AutoCAD 3DsMax Maya

渐行渐远的内容,以及愈发冗长的行径线路,都充斥着迷惑。当再次回首时忽然有一种冲动,摘录、梳理、铭记,一路走来,挺有趣的。

1
2
3
4
5
6
7
/*C*/
#include <stdio.h>
int main()
{
	printf("Hello,world!\n");
	return 0;
}
1
2
3
4
5
6
7
8
//C++
#include <iostream>
using namespace std;
int main()
{
	cout<<"Hello,world!"<<endl;
	return 0;
}
1
2
3
4
5
6
//Java
public class Hello{
	public static void main(String args[]) {
		System.out.println("Hello,world!");
	}
}
1
2
3
4
5
6
7
8
//C#
using System;
class Hello
{
	public static void Main(){
		Console.WriteLine("Hello,world!");
	}
}
1
2
//JavaScript
alert("Hello,world!");
1
2
3
4
//PHP
<?php
	echo "Hello,world!";
?>
1
2
3
4
5
6
//ActionScript
class Hello{
	function Hello():void{
		trace("Hello,world!");
	}
}
1
2
#ruby
puts "Hello,world!";
1
2
#perl
print "Hello,world!";

Related Post:

One Response to “Hello world!”

  1. Mr WordPress says:

    Hi, this is a comment.
    To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.

Leave a Reply