Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Declaring Variables Pin
Richard MacCutchan4-Feb-10 8:47
mveRichard MacCutchan4-Feb-10 8:47 
GeneralRe: Declaring Variables Pin
gregarion4-Feb-10 8:53
gregarion4-Feb-10 8:53 
GeneralRe: Declaring Variables Pin
Richard MacCutchan4-Feb-10 11:38
mveRichard MacCutchan4-Feb-10 11:38 
GeneralRe: Declaring Variables Pin
Rozis4-Feb-10 12:42
Rozis4-Feb-10 12:42 
GeneralRe: Declaring Variables Pin
Richard MacCutchan4-Feb-10 22:04
mveRichard MacCutchan4-Feb-10 22:04 
GeneralRe: Declaring Variables Pin
Maximilien4-Feb-10 8:55
Maximilien4-Feb-10 8:55 
GeneralRe: Declaring Variables Pin
gregarion4-Feb-10 8:59
gregarion4-Feb-10 8:59 
QuestionMessage Removed Pin
4-Feb-10 7:20
glitteringsound4-Feb-10 7:20 
AnswerRe: Code needed for Parsing PE for Exports Pin
Tim Craig4-Feb-10 8:32
Tim Craig4-Feb-10 8:32 
AnswerRe: Code needed for Parsing PE for Exports Pin
Richard MacCutchan4-Feb-10 8:45
mveRichard MacCutchan4-Feb-10 8:45 
QuestionC++ return value from function Pin
uusheikh4-Feb-10 7:11
uusheikh4-Feb-10 7:11 
AnswerRe: C++ return value from function Pin
Nemanja Trifunovic4-Feb-10 7:27
Nemanja Trifunovic4-Feb-10 7:27 
GeneralRe: C++ return value from function Pin
uusheikh4-Feb-10 7:35
uusheikh4-Feb-10 7:35 
GeneralRe: C++ return value from function Pin
Maximilien4-Feb-10 7:38
Maximilien4-Feb-10 7:38 
GeneralRe: C++ return value from function Pin
Nemanja Trifunovic4-Feb-10 7:43
Nemanja Trifunovic4-Feb-10 7:43 

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.