網頁

顯示具有 程式設計 標籤的文章。 顯示所有文章
顯示具有 程式設計 標籤的文章。 顯示所有文章

2011/06/12

Blogger syntax highlighting

#include <stdio.h>
int main()
{
    printf("Hello, world!");
    return 0;
}

#!/bin/sh
if [ -e /home/achouman/a.out ]; then
    rm /home/achouman/a.out
fi

exit 0

2010/08/20

WP-CodeBox 測試

剛安裝好新的 plug-in:WP-CodeBox,以後顯示程式碼可以比較漂亮一點,方便閱讀!
class CodeBoxTester
{
public static void main(String[] args)
{
System.out.println("Hello, WP-CodeBox!");
}
}

2009/10/04

Syntax Highlighting 測試

以下是語法測試:
#include 
using namespace std;

int main()
{
cout << "Hello, WP!" << endl;
return 0;
}