Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNo Windows XP Style controls !!! Why ? Pin
Avinash Gupta ITER11-Apr-07 8:41
Avinash Gupta ITER11-Apr-07 8:41 
AnswerRe: No Windows XP Style controls !!! Why ? Pin
Dustin Henry11-Apr-07 9:03
Dustin Henry11-Apr-07 9:03 
GeneralRe: No Windows XP Style controls !!! Why ? Pin
sthotakura11-Apr-07 10:41
sthotakura11-Apr-07 10:41 
GeneralThanks !!! Pin
Avinash Gupta ITER12-Apr-07 21:37
Avinash Gupta ITER12-Apr-07 21:37 
Questionsaving and printing Pin
cyn811-Apr-07 8:09
cyn811-Apr-07 8:09 
Questionconverting int to char Pin
cyn811-Apr-07 8:00
cyn811-Apr-07 8:00 
AnswerRe: converting int to char Pin
doctorpi11-Apr-07 8:39
doctorpi11-Apr-07 8:39 
AnswerRe: converting int to char Pin
cp987611-Apr-07 13:46
cp987611-Apr-07 13:46 
I'm not exactly sure what you are asking, but


<br />
#include <fstream><br />
using namespace std;<br />
<br />
   ofstream out("x.txt");<br />
<br />
   int n = 22;<br />
   int m = 4;<br />
<br />
   out << n << endl;  // line 1<br />
   out << m << endl;  // line 2<br />
   out << "n = " << n << ",  m = " << m << endl;   // line 3<br />
<br />


results in the following three lines of output:

<br />
22<br />
4<br />
n = 22,  m = 4<br />








Peter

"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

QuestionAssigning parent to a Dialog Pin
doctorpi11-Apr-07 7:03
doctorpi11-Apr-07 7:03 
AnswerRe: Assigning parent to a Dialog Pin
led mike11-Apr-07 7:10
led mike11-Apr-07 7:10 
GeneralRe: Assigning parent to a Dialog Pin
doctorpi11-Apr-07 7:41
doctorpi11-Apr-07 7:41 
GeneralRe: Assigning parent to a Dialog [modified] Pin
doctorpi11-Apr-07 8:25
doctorpi11-Apr-07 8:25 
GeneralRe: Assigning parent to a Dialog Pin
led mike11-Apr-07 8:56
led mike11-Apr-07 8:56 
QuestionWriting XML to file Pin
LCI11-Apr-07 6:22
LCI11-Apr-07 6:22 
AnswerRe: Writing XML to file Pin
led mike11-Apr-07 6:55
led mike11-Apr-07 6:55 
QuestionCompiler Switches /MD and MT Pin
nde_plume11-Apr-07 6:10
nde_plume11-Apr-07 6:10 
AnswerRe: Compiler Switches /MD and MT [modified] Pin
sthotakura11-Apr-07 11:35
sthotakura11-Apr-07 11:35 
QuestionWin32 Graphical drawing. Pin
deville7511-Apr-07 4:33
deville7511-Apr-07 4:33 
AnswerRe: Win32 Graphical drawing. Pin
Cedric Moonen11-Apr-07 4:45
Cedric Moonen11-Apr-07 4:45 
GeneralRe: Win32 Graphical drawing. Pin
deville7511-Apr-07 4:53
deville7511-Apr-07 4:53 
GeneralRe: Win32 Graphical drawing. Pin
deville7511-Apr-07 5:20
deville7511-Apr-07 5:20 
GeneralRe: Win32 Graphical drawing. Pin
deville7511-Apr-07 5:25
deville7511-Apr-07 5:25 
GeneralRe: Win32 Graphical drawing. Pin
Cedric Moonen11-Apr-07 7:31
Cedric Moonen11-Apr-07 7:31 
Questionhow to convert _variant_t to char*? Pin
Arris7411-Apr-07 4:06
Arris7411-Apr-07 4:06 
AnswerRe: how to convert _variant_t to char*? Pin
led mike11-Apr-07 6:15
led mike11-Apr-07 6:15 

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.