[問題] 關於IT++

看板C_and_CPP (C/C++)作者 (霹靂火)時間16年前 (2009/09/22 23:59), 編輯推噓0(003)
留言3則, 2人參與, 最新討論串1/1
想問板上強者有沒有人知道這個資料庫怎麼使用 因為我們老闆說這個是很簡單的程式語言 把C++一些需要宣告的東西都省掉了 但是我現在卻連怎麼寫檔跟讀檔都搞得霧沙沙@@ 我把IT++的連結放在下面 http://itpp.sourceforge.net/current/index.html 在右邊的Some Tutorial Examples裡面第二個範例就是 Writing and reading data from files: #include <itpp/itcomm.h> using namespace itpp; int main() { // Declare the it_file class it_file ff; // Open a file with the name "it_file_test.it" ff.open("it_file_test.it") 上面這兩段程式是在幹嘛? 他要我開啟it_file_test.it這個不存在的檔案 為什麼我不能直接寫入我要的檔案像是vec.cpp 拜託強者給小弟一些建議~ 感激不盡~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.24.132.30

09/23 01:28, , 1F
你當然可以把檔名換成你想要的吧?
09/23 01:28, 1F

09/23 01:30, , 2F
我看不到那裡有省掉什麼宣告,還有,這不是一個簡單的
09/23 01:30, 2F

09/23 01:31, , 3F
程式語言,這只是用在 C++ 上的lib 罷?
09/23 01:31, 3F
文章代碼(AID): #1AkFHQZl (C_and_CPP)
文章代碼(AID): #1AkFHQZl (C_and_CPP)