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

Test Code Highlight

  • 0
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World");
    }
}
#include  
using namespace std; 

int main() { 
    cout << "Hello! World!\n"; 
    cout << "哈囉! C++!\n";

    return 0; 
}

[程式] printf的換行

  • 0
printf("If you find the string too long, \
use the backslash to tell the compiler \
it's still the same one. \n");
printf("So you will get it. \n")

--- Result ---

[程式] Script language - Perl, Python, Ruby?

  • 0
前陣子有在找相關的資料
因為無線行動網路導論中使用的NS-2會用awk去寫一些腳本

今天再查了一下就找到一篇不錯的文章!
大陸同胞的博客http://ipie.blogbus.com/logs/13262607.html
http://fan.renren.it/a/bianchengyuyan/Python/20100929/39890.html
講得蠻有道理的

Google搜尋關鍵字: 工作 Python ruby perl