Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionagain question Pin
messages20-Apr-06 3:56
messages20-Apr-06 3:56 
QuestionRe: again question Pin
David Crow20-Apr-06 4:28
David Crow20-Apr-06 4:28 
AnswerRe: again question Pin
messages20-Apr-06 4:44
messages20-Apr-06 4:44 
GeneralRe: again question Pin
David Crow20-Apr-06 5:57
David Crow20-Apr-06 5:57 
GeneralRe: again question Pin
messages20-Apr-06 19:33
messages20-Apr-06 19:33 
AnswerRe: again question Pin
Mila02520-Apr-06 4:45
Mila02520-Apr-06 4:45 
GeneralRe: again question Pin
messages20-Apr-06 5:11
messages20-Apr-06 5:11 
Questionoutput stream problem Pin
Aqueel20-Apr-06 3:41
Aqueel20-Apr-06 3:41 
Hi One of my friends is getting a strange problem with his code in c++. He has stored some integer values in an array. That array is declared in a class as its member variable.
In a function before printing this array using cout, he wrote the following statement.
cout<<"DAY\tBreak up\tBuying Price\tSelling Price\tGain/Loss\n";
We saw it in Debugger mode that when above statement executes, all values in that array are changed and some garbage values are displayed.
Please can you tell me why this is happening?
Thank you.

We Believe in Excellence
www.aqueelmirza.cjb.net
AnswerRe: output stream problem Pin
toxcct20-Apr-06 3:54
toxcct20-Apr-06 3:54 
GeneralRe: output stream problem Pin
Aqueel20-Apr-06 3:58
Aqueel20-Apr-06 3:58 
AnswerRe: output stream problem Pin
David Crow20-Apr-06 4:29
David Crow20-Apr-06 4:29 
GeneralRe: output stream problem Pin
Aqueel20-Apr-06 4:42
Aqueel20-Apr-06 4:42 
GeneralRe: output stream problem Pin
Aqueel20-Apr-06 4:47
Aqueel20-Apr-06 4:47 
GeneralRe: output stream problem Pin
jayart20-Apr-06 5:14
jayart20-Apr-06 5:14 
QuestionPersistent Toolbars Pin
Sarvan AL20-Apr-06 1:41
Sarvan AL20-Apr-06 1:41 
QuestionHow do i dynamically acces method export in CLASS Pin
Killer320-Apr-06 0:54
Killer320-Apr-06 0:54 
AnswerRe: How do i dynamically acces method export in CLASS Pin
Naveen20-Apr-06 1:08
Naveen20-Apr-06 1:08 
GeneralRe: How do i dynamically acces method export in CLASS Pin
Killer320-Apr-06 1:28
Killer320-Apr-06 1:28 
GeneralRe: How do i dynamically acces method export in CLASS Pin
Naveen20-Apr-06 2:31
Naveen20-Apr-06 2:31 
GeneralRe: How do i dynamically acces method export in CLASS Pin
Killer320-Apr-06 4:09
Killer320-Apr-06 4:09 
QuestionCapturing Desktop Events Pin
atimpoo19-Apr-06 23:56
atimpoo19-Apr-06 23:56 
AnswerRe: Capturing Desktop Events Pin
Naveen20-Apr-06 0:55
Naveen20-Apr-06 0:55 
QuestionHow to Change the Control Focus on MSFlex Grid Control Pin
kiran janaswamy19-Apr-06 23:18
kiran janaswamy19-Apr-06 23:18 
QuestionPlgBlt question Pin
YaronNir19-Apr-06 23:11
YaronNir19-Apr-06 23:11 
AnswerRe: PlgBlt question Pin
Stephen Hewitt20-Apr-06 0:54
Stephen Hewitt20-Apr-06 0:54 

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.