Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDialog is getting close automatically Pin
chevu4-Feb-10 16:46
chevu4-Feb-10 16:46 
AnswerRe: Dialog is getting close automatically Pin
Avi Berger4-Feb-10 17:28
Avi Berger4-Feb-10 17:28 
GeneralRe: Dialog is getting close automatically Pin
chevu4-Feb-10 17:48
chevu4-Feb-10 17:48 
GeneralRe: Dialog is getting close automatically Pin
Avi Berger4-Feb-10 18:30
Avi Berger4-Feb-10 18:30 
GeneralRe: Dialog is getting close automatically Pin
chevu4-Feb-10 18:39
chevu4-Feb-10 18:39 
GeneralRe: Dialog is getting close automatically Pin
Avi Berger4-Feb-10 20:50
Avi Berger4-Feb-10 20:50 
Questionclass instance address Pin
transoft4-Feb-10 10:46
transoft4-Feb-10 10:46 
AnswerRe: class instance address Pin
Abhi Lahare4-Feb-10 10:54
Abhi Lahare4-Feb-10 10:54 
GeneralRe: class instance address Pin
transoft4-Feb-10 11:05
transoft4-Feb-10 11:05 
GeneralRe: class instance address Pin
Graham Breach4-Feb-10 11:24
Graham Breach4-Feb-10 11:24 
GeneralRe: class instance address Pin
transoft4-Feb-10 11:30
transoft4-Feb-10 11:30 
GeneralRe: class instance address Pin
Avi Berger4-Feb-10 11:42
Avi Berger4-Feb-10 11:42 
GeneralRe: class instance address Pin
transoft4-Feb-10 12:09
transoft4-Feb-10 12:09 
AnswerRe: class instance address Pin
Avi Berger4-Feb-10 11:31
Avi Berger4-Feb-10 11:31 
QuestionDos subclassing Pin
aurelcly4-Feb-10 8:14
aurelcly4-Feb-10 8:14 
QuestionRe: Dos subclassing Pin
David Crow4-Feb-10 8:27
David Crow4-Feb-10 8:27 
AnswerRe: Dos subclassing Pin
Maximilien4-Feb-10 8:38
Maximilien4-Feb-10 8:38 
AnswerRe: Dos subclassing Pin
Richard MacCutchan4-Feb-10 8:48
mveRichard MacCutchan4-Feb-10 8:48 
AnswerRe: Dos subclassing Pin
Code-o-mat4-Feb-10 8:50
Code-o-mat4-Feb-10 8:50 
AnswerRe: Dos subclassing Pin
Avi Berger4-Feb-10 9:13
Avi Berger4-Feb-10 9:13 
GeneralRe: Dos subclassing Pin
loyal ginger4-Feb-10 11:16
loyal ginger4-Feb-10 11:16 
GeneralRe: Dos subclassing Pin
Avi Berger4-Feb-10 12:42
Avi Berger4-Feb-10 12:42 
QuestionDeclaring Variables Pin
gregarion4-Feb-10 7:48
gregarion4-Feb-10 7:48 
Hey guys im facing a problem in declaring variables. i have a few classes like the one below...


[CODE]#ifndef _FINANCE_H
#define	_FINANCE_H

#include <string>
#include <iostream>
#include <fstream>
#include <stdlib.h>

using namespace std ;


class  readStraitsTimesIndex
{
    public:
         void StraitsTimesIndex(fstream&) ;
    private:
};

class readDow
{
    public:
        void Dow(fstream&) ;
    private:
 };
[/CODE]


what i am trying to do is to use a value which is being the output of one of the class class and to be displayed into the other class. I tried using an object member like the one below ,

[CODE]class  readStraitsTimesIndex
{
    public:
         void StraitsTimesIndex(fstream&) ;
String value ;
    private:

};[/CODE]


and then assigned the output of that class to the variable(value) , but it will only work within the class. how do i go about saving a certain variable from the output of a certain class and using it for the other variables.
AnswerRe: Declaring Variables Pin
Maximilien4-Feb-10 8:19
Maximilien4-Feb-10 8:19 
GeneralRe: Declaring Variables Pin
gregarion4-Feb-10 8:34
gregarion4-Feb-10 8:34 

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.