Click here to Skip to main content
15,893,381 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A simple array question Pin
ns2-Oct-02 4:47
ns2-Oct-02 4:47 
GeneralRe: A simple array question Pin
jmkhael2-Oct-02 4:51
jmkhael2-Oct-02 4:51 
GeneralRe: A simple array question Pin
ns2-Oct-02 5:24
ns2-Oct-02 5:24 
GeneralRe: A simple array question Pin
Joe Herbert2-Oct-02 5:43
Joe Herbert2-Oct-02 5:43 
GeneralRe: A simple array question Pin
ns2-Oct-02 5:50
ns2-Oct-02 5:50 
GeneralRe: A simple array question Pin
jmkhael2-Oct-02 6:07
jmkhael2-Oct-02 6:07 
GeneralHelp with fstream Pin
Sunnygirl2-Oct-02 4:23
Sunnygirl2-Oct-02 4:23 
GeneralRe: Help with fstream Pin
RedZenBird2-Oct-02 4:29
RedZenBird2-Oct-02 4:29 
re: first:

create an ifstream object
call open
set file pointer to end using seekg
call tellg to get the number of bytes in the file
allocate that number of chars
set file pointer to beginning using seekg
call read
call close

re: second:
use CFileDialog ... before calling DoModal, fill out the m_ofn structure in the CFileDialog object...

hope that helps...

Just trying to keep the forces of entropy at bay
GeneralGetKeyState() question Pin
dazinith2-Oct-02 4:14
dazinith2-Oct-02 4:14 
GeneralRe: GetKeyState() question Pin
Tomasz Sowinski2-Oct-02 4:38
Tomasz Sowinski2-Oct-02 4:38 
GeneralRe: GetKeyState() question Pin
dazinith2-Oct-02 5:20
dazinith2-Oct-02 5:20 
GeneralRe: GetKeyState() question Pin
adamUK2-Oct-02 5:38
adamUK2-Oct-02 5:38 
GeneralRe: GetKeyState() question Pin
Chris Richardson2-Oct-02 10:06
Chris Richardson2-Oct-02 10:06 
GeneralClistctrl and sorting in report view Pin
ns2-Oct-02 4:13
ns2-Oct-02 4:13 
GeneralRe: Clistctrl and sorting in report view Pin
Michael P Butler2-Oct-02 4:28
Michael P Butler2-Oct-02 4:28 
GeneralCString and 'type' question Pin
ns2-Oct-02 3:40
ns2-Oct-02 3:40 
GeneralRe: CString and 'type' question Pin
Tomasz Sowinski2-Oct-02 3:50
Tomasz Sowinski2-Oct-02 3:50 
GeneralRe: CString and 'type' question Pin
ns2-Oct-02 4:09
ns2-Oct-02 4:09 
GeneralRe: CString and 'type' question Pin
Tomasz Sowinski2-Oct-02 4:35
Tomasz Sowinski2-Oct-02 4:35 
GeneralRe: CString and 'type' question Pin
RedZenBird2-Oct-02 4:40
RedZenBird2-Oct-02 4:40 
GeneralRe: CString and 'type' question Pin
Chris Losinger2-Oct-02 5:25
professionalChris Losinger2-Oct-02 5:25 
GeneralWeird Memory Usage Pin
Chris Hambleton2-Oct-02 2:37
Chris Hambleton2-Oct-02 2:37 
GeneralRe: Weird Memory Usage Pin
Tomasz Sowinski2-Oct-02 2:47
Tomasz Sowinski2-Oct-02 2:47 
GeneralCListCtrl and multiselect question Pin
ns2-Oct-02 1:25
ns2-Oct-02 1:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.