Click here to Skip to main content
15,914,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: a suggestion Pin
toxcct30-Mar-06 6:36
toxcct30-Mar-06 6:36 
QuestionDecode problem Pin
beardy janggut30-Mar-06 5:32
beardy janggut30-Mar-06 5:32 
AnswerRe: Decode problem Pin
David Crow30-Mar-06 5:44
David Crow30-Mar-06 5:44 
Questionabout RegisterWindowMessage and register a system hotkey Pin
FlyWithYou30-Mar-06 5:28
FlyWithYou30-Mar-06 5:28 
QuestionStack overflow message Pin
Clay L30-Mar-06 5:27
Clay L30-Mar-06 5:27 
QuestionRe: Stack overflow message Pin
David Crow30-Mar-06 5:40
David Crow30-Mar-06 5:40 
AnswerRe: Stack overflow message Pin
Clay L30-Mar-06 9:43
Clay L30-Mar-06 9:43 
Questionchange to binary Pin
beardy janggut30-Mar-06 5:10
beardy janggut30-Mar-06 5:10 
i have a part of syntax below:
CEdit* pEdit=(CEdit*)GetDlgItem(IDC_EDIT1);<br />
CString strTeks;<br />
pEdit->GetWindowText(strTeks);<br />
<br />
int  nLineCount = pEdit->GetLineCount();<br />
 CString  strLine;<br />
   for (i=0;i < nLineCount;i++)<br />
   {<br />
      int len = pEdit->LineLength(pEdit->LineIndex(i));<br />
      pEdit->GetLine(i, strTeks.GetBuffer(len), len);<br />
     strTeks.ReleaseBuffer(len);<br />
     strLine.Format(TEXT("line %d: '%s'\n"), i, strTeks);<br />
}
then i want to print every character in the edit box in term of "1"
and "0" using fprintf at a .txt file. How can i do that???



HelpMe

-- modified at 11:11 Thursday 30th March, 2006
AnswerRe: change to binary Pin
Rage30-Mar-06 5:24
professionalRage30-Mar-06 5:24 
QuestionRe: change to binary Pin
David Crow30-Mar-06 5:30
David Crow30-Mar-06 5:30 
AnswerRe: change to binary Pin
Rage30-Mar-06 5:52
professionalRage30-Mar-06 5:52 
GeneralRe: change to binary Pin
beardy janggut30-Mar-06 20:26
beardy janggut30-Mar-06 20:26 
QuestionRe: change to binary Pin
David Crow30-Mar-06 5:25
David Crow30-Mar-06 5:25 
QuestionHow do get the Print Out Pin
rameshmahadevan30-Mar-06 4:41
rameshmahadevan30-Mar-06 4:41 
QuestionRe: How do get the Print Out Pin
David Crow30-Mar-06 4:48
David Crow30-Mar-06 4:48 
AnswerRe: How do get the Print Out Pin
Waldermort30-Mar-06 5:14
Waldermort30-Mar-06 5:14 
GeneralRe: How do get the Print Out Pin
David Crow30-Mar-06 5:22
David Crow30-Mar-06 5:22 
GeneralRe: How do get the Print Out Pin
Waldermort30-Mar-06 5:58
Waldermort30-Mar-06 5:58 
GeneralRe: How do get the Print Out Pin
normanS30-Mar-06 19:00
normanS30-Mar-06 19:00 
Questiontrytry Pin
rameshmahadevan30-Mar-06 4:39
rameshmahadevan30-Mar-06 4:39 
Answercatchcatch Pin
Rage30-Mar-06 4:46
professionalRage30-Mar-06 4:46 
GeneralRe: catchcatch Pin
toxcct30-Mar-06 5:17
toxcct30-Mar-06 5:17 
AnswerRe: trytry Pin
toxcct30-Mar-06 5:06
toxcct30-Mar-06 5:06 
GeneralRe: trytry Pin
Rage30-Mar-06 5:12
professionalRage30-Mar-06 5:12 
JokeRe: trytry Pin
toxcct30-Mar-06 5:13
toxcct30-Mar-06 5:13 

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.