NOTICE

 任何跟文章無關的閒聊,請愛用 留言板(Guestbook)

 想要快速瀏覽主題,請點選單 目錄 標籤。

 停止更新ing,請見諒。 <(_ _)>


2月 25, 2009

【目錄】Qt

@
Qt 相關一覽
展開全文文章收合

【翻譯】Address Book Tutorial

@
  這份指導教學利用 Qt 的跨平台(cross-platform)框架(framework),為 GUI 程式作了一個介紹。
展開全文文章收合

【翻譯】Address Book 7 - Additional Features

@
tutorials/addressbook/part7/addressbook.cpp
tutorials/addressbook/part7/addressbook.h
tutorials/addressbook/part7/finddialog.cpp
tutorials/addressbook/part7/finddialog.h
tutorials/addressbook/part7/main.cpp
tutorials/addressbook/part7/part7.pro

  這一章涵蓋了一些使得 Address Book 程式更加方便於每天使用的附加功能。
展開全文文章收合

2月 24, 2009

【翻譯】Address Book 6 - Loading and Saving

@
tutorials/addressbook/part6/addressbook.cpp
tutorials/addressbook/part6/addressbook.h
tutorials/addressbook/part6/finddialog.cpp
tutorials/addressbook/part6/finddialog.h
tutorials/addressbook/part6/main.cpp
tutorials/addressbook/part6/part6.pro

  這一章涵蓋了 Qt 的檔案處理功能,我們可以使用它來撰寫 Address Book 程式載入與儲存的例行程序。
展開全文文章收合

2月 23, 2009

【翻譯】Address Book 5 - Adding a Find Function

@
tutorials/addressbook/part5/addressbook.cpp
tutorials/addressbook/part5/addressbook.h
tutorials/addressbook/part5/finddialog.cpp
tutorials/addressbook/part5/finddialog.h
tutorials/addressbook/part5/main.cpp
tutorials/addressbook/part5/part5.pro

  在這一章,我們著眼於 Address Book 程式中找出聯絡人與住址的方法。
展開全文文章收合

2月 18, 2009

【翻譯】Address Book 4 - Editing and Removing Addresses

@
tutorials/addressbook/part4/addressbook.cpp
tutorials/addressbook/part4/addressbook.h
tutorials/addressbook/part4/main.cpp
tutorials/addressbook/part4/part4.pro

  在這一章,我們著眼於修改儲存在 Address Book 程式中聯絡人內容的方法。
展開全文文章收合

2月 17, 2009

【翻譯】Address Book 3 - Navigating between Entries

@
tutorials/addressbook/part3/addressbook.cpp
tutorials/addressbook/part3/addressbook.h
tutorials/addressbook/part3/main.cpp
tutorials/addressbook/part3/part3.pro

  Address Book 程式現在完成一半了。我們需要加入一些函式以在聯絡人之間做導覽(navigation)。不過首先,我們必須要決定:我們要使用哪種資料結構來存取這些聯絡人。
展開全文文章收合

2月 15, 2009

【翻譯】Address Book 2 - Adding Addresses

@
tutorials/addressbook/part2/addressbook.cpp
tutorials/addressbook/part2/addressbook.h
tutorials/addressbook/part2/main.cpp
tutorials/addressbook/part2/part2.pro

  建立我們 Address Book 的下一步是,允許一點點使用者的互動。
展開全文文章收合

2月 14, 2009

【翻譯】Address Book 1 - Designing the User Interface

@
tutorials/addressbook/part1/addressbook.cpp
tutorials/addressbook/part1/addressbook.h
tutorials/addressbook/part1/main.cpp
tutorials/addressbook/part1/part1.pro

  這份指導的第一部分,涵蓋了我們使用在 Address Book 程式上的基礎圖形使用者介面(GUI,graphical user interface)設計。
展開全文文章收合

2月 13, 2009

【目錄】USACO Trainng

@
USACO Trainng - 試題解題一覽
展開全文文章收合

【解題】Friday the Thirteenth

@
USACO Section 1.1 - Friday the Thirteenth


The Problem

Is Friday the 13th really an unusual event?
展開全文文章收合

【解題】Greedy Gift Givers

@
USACO Section 1.1 - Greedy Gift Givers


The Problem

A group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of the other friends. Likewise, each friend might or might not receive money from any or all of the other friends. Your goal in this problem is to deduce how much more money each person gives than they receive.
展開全文文章收合

2月 11, 2009

【解題】Your Ride Is Here

@
USACO Section 1.1 - Your Ride Is Here


The Problem

It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, they only have room to pick up one group of followers on each trip. They do, however, let the groups know ahead of time which will be picked up for each comet by a clever scheme: they pick a name for the comet which, along with the name of the group, can be used to determine if it is a particular group's turn to go (who do you think names the comets?). The details of the matching scheme are given below; your job is to write a program which takes the names of a group and a comet and then determines whether the group should go with the UFO behind that comet.
展開全文文章收合

2月 07, 2009

【筆記】Installing Qt with MinGW

@
  由於安裝 Qt 感覺起來還滿麻煩的,所以在這裡,我使用 Windows XP + MinGW 的環境,紀錄一下安裝 Qt 的步驟與過程。
展開全文文章收合

2月 06, 2009

【介紹】GCC / MinGW

@
  說到 C/C++ 的開發環境,就不能不提到 GCC。GCC 是 GNU Compiler Collection (GNU 編譯器總集)的縮寫,為 GNU 計畫中一套多種程式語言編譯器的集合。在諸多 Unix-likeMac OS X 中都成為其內建的程式開發環境。
展開全文文章收合