Here's a C++ solution: #include #include using namespace std; ... ifstream in("in.txt"); ofstream out("out.txt"); string s; while(is >> s) os << s << endl;
B
beerboy_22
@beerboy_22
Posts
-
Reading a text file -
How to get column count of ListCtrlSendMessage(SendMessage(hListCtrl, LVM_GETHEADER, 0, 0), HDM_GETITEMCOUNT, 0, 0);
-
WM_PAINT seems not workingYou should NEVER update your window using the above method... Instead use: InvalidateRect(hWnd, NULL, TRUE);