Click here to Skip to main content
15,883,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CEdit Default focus Pin
Hamid_RT25-Feb-06 17:07
Hamid_RT25-Feb-06 17:07 
AnswerRe: CEdit Default focus Pin
FarPointer26-Feb-06 3:58
FarPointer26-Feb-06 3:58 
QuestionCDialog and Keyboard events Pin
braveheartkenya25-Feb-06 11:15
braveheartkenya25-Feb-06 11:15 
AnswerRe: CDialog and Keyboard events Pin
Hamid_RT25-Feb-06 17:04
Hamid_RT25-Feb-06 17:04 
GeneralRe: CDialog and Keyboard events Pin
braveheartkenya26-Feb-06 0:48
braveheartkenya26-Feb-06 0:48 
GeneralRe: CDialog and Keyboard events Pin
Hamid_RT26-Feb-06 3:49
Hamid_RT26-Feb-06 3:49 
GeneralRe: CDialog and Keyboard events Pin
braveheartkenya27-Feb-06 6:09
braveheartkenya27-Feb-06 6:09 
Questionloading a file into strings Pin
FARGORE25-Feb-06 11:13
FARGORE25-Feb-06 11:13 
I know how to load and save info to files but I'm having trouble loading info from a file into multiple strings. This is the data that I am saving and it works just as I want it to.

ofstream fp;
fp.open("C:\\war\\stringdata.DAT", ios::out);

for (count = partytotal -1; count >= 0; count--)
for (count2 = 16; count2 >= 0; count2--)
{
fp << party[count][count2];
fp << "\n";
}

fp.close();

Party is defined as: CString party[4][17];

I'm not a vary good programmerSigh | :sigh: , so could anyone give me an example of code that will load the data back into the stringsBig Grin | :-D . (nothing I tried worked)

Thank you.

"To an optimist the glass is half full.
To the pessimist the glass is half empty.
To the programmer the glass is twice as big as it needs to be."

GC13: "Mature-Ages 16 and up. 'your mature, right?'"
FARGORE: "no, but I am over 16."
QuestionMultithreading and ReadFile() / WriteFile() Pin
Halloko25-Feb-06 8:56
Halloko25-Feb-06 8:56 
AnswerRe: Multithreading and ReadFile() / WriteFile() Pin
FARGORE25-Feb-06 11:53
FARGORE25-Feb-06 11:53 
GeneralRe: Multithreading and ReadFile() / WriteFile() Pin
Halloko25-Feb-06 12:03
Halloko25-Feb-06 12:03 
AnswerRe: Multithreading and ReadFile() / WriteFile() Pin
cmk25-Feb-06 13:54
cmk25-Feb-06 13:54 
GeneralRe: Multithreading and ReadFile() / WriteFile() Pin
Halloko25-Feb-06 22:33
Halloko25-Feb-06 22:33 
GeneralRe: Multithreading and ReadFile() / WriteFile() Pin
ThatsAlok26-Feb-06 22:56
ThatsAlok26-Feb-06 22:56 
GeneralRe: Multithreading and ReadFile() / WriteFile() Pin
Halloko27-Feb-06 2:50
Halloko27-Feb-06 2:50 
QuestionData string Parsing Pin
srija25-Feb-06 8:24
srija25-Feb-06 8:24 
AnswerRe: Data string Parsing Pin
toxcct25-Feb-06 8:52
toxcct25-Feb-06 8:52 
GeneralRe: Data string Parsing Pin
srija28-Feb-06 0:16
srija28-Feb-06 0:16 
AnswerRe: Data string Parsing Pin
ThatsAlok26-Feb-06 22:51
ThatsAlok26-Feb-06 22:51 
QuestionGrid Control Pin
Tier525-Feb-06 8:08
Tier525-Feb-06 8:08 
AnswerRe: Grid Control Pin
toxcct25-Feb-06 8:54
toxcct25-Feb-06 8:54 
GeneralRe: Grid Control Pin
Tier525-Feb-06 10:34
Tier525-Feb-06 10:34 
Questioncall of .so file by java under linux Pin
ss200625-Feb-06 6:51
ss200625-Feb-06 6:51 
AnswerRe: call of .so file by java under linux Pin
Nemanja Trifunovic25-Feb-06 7:00
Nemanja Trifunovic25-Feb-06 7:00 
Questiondll under linux Pin
ss200625-Feb-06 6:19
ss200625-Feb-06 6:19 

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.