當ifstream("c:\\mongo\\test.txt"),則開啟c:\mongo\test.txt(絕對路徑) ... getline==> ifstream的member function,從檔案中讀取一行資料 // 用法getline(char *buff,int n)
www.google.com.tw