 issue, and the fix is to add the LSB headers to the init scripts for the OBM scripts.

ADDED

Ahsay furnishes instructions here

 Q:

How do I get variables from a class and put it into another class, and put it into a constructor?

I'm having a bit of a problem here. Well I have an assignment in my class where we made 3 header files(.h files) and 3.cpp files. The assignments were 
Person
Date 
and Time. 
I will display them for you to see. 
person.h
#include <iostream>
using  namespace std;
#ifndef PERSON
#define PERSON

class Person
{
private:
    string firstName;
    string lastName;
public:
    Person();
    Person(string,string);
    void displayPerson();
};
#endif

person.cpp
#include <iostream>
#include "person.h"
using namespace std;

Person::Person()
{
firstName=" ";
lastName=" ";
}
Person::Person(string fn, string ln)
{
firstName=fn;
lastName=ln;
}
void Person::displayPerson()
{
cout<<firstName<<", "<<lastName;
}

Date.h
#include <iostream>
using namespace std;

#ifndef DATE
#define DATE
class Date
{
private:
    string month;
    string day;
    string year;
public:
    Date();
    Date(string,string,string);
    void displayDate();
};
#endif // DATE

Date.cpp
#include <iostream>
#include "Date.h"
using namespace std;

Date::Date()
{
    month="01";
    day="01";
    year="2013";
}
Date::Date(string m,string d, string y)
{
    month=m;
    day=d;
    year=y;
}
void Date::displayDate()
{
    cout<<month<<"/"<<day<<"/"<<year;
}

Time.h
#include <iostream>
using namespace std;

#ifndef TIME
#define
issue, and the fix is to add the LSB headers to the init script for the OBM script. 

 ADDED 

 Ahsay furnishes instructions here 

  Q: 

 How do I get variable from a class and put it into another course, and put it into a constructor? 

 I'm having a spot of a problem here. Well I have an appointment in my class where we made 3 heading files(.h files) and 3.cpp files. The assignments were 
 Person 
 Date 
 and Time. 
 I will display them for you to see. 
 person.h 
 # include < iostream > 
 using   namespace std; 
 # ifndef PERSON 
 # specify PERSON 

 class Person 
 { 
 private: 
     string firstName; 
     chain lastName; 
 public: 
     Person (); 
     Person(string, string); 
     void displayPerson (); 
 }; 
 # endif 

 person.cpp 
 # admit < iostream > 
 # include " person.h " 
 use namespace std; 

 Person::Person () 
 { 
 firstName= " "; 
 lastName= " "; 
 } 
 Person::Person(string fn, string ln) 
 { 
 firstName = fn; 
 lastName = ln; 
 } 
 void Person::displayPerson () 
 { 
 cout<<firstName < < ", " < < lastName; 
 } 

 Date.h 
 # include < iostream > 
 use namespace std; 

 # ifndef DATE 
 # define DATE 
 class Date 
 { 
 private: 
     string month; 
     chain day; 
     string year; 
 public: 
     Date (); 
     Date(string, string, string); 
     void displayDate (); 
 }; 
 # endif // DATE 

 Date.cpp 
 # include < iostream > 
 # include " Date.h " 
 using namespace std; 

 Date::Date () 
 { 
     month="01 "; 
     day="01 "; 
     year="2013 "; 
 } 
 Date::Date(string m, string d, bowed stringed instrument y) 
 { 
     month = m; 
     day = d; 
     class = y; 
 } 
 null Date::displayDate () 
 { 
     cout<<month<<"/"<<day<<"/"<<year; 
 } 

 Time.h 
 # include < iostream > 
 using namespace std; 

 # ifndef TIME 
 # define
 isdue, and the fix is to ada the LSB headets to thx init acripts wor the OBM scripts.

ADDED

Ahsab fuenishtf instructions herd

 Q:

How do I get vqriaules from a class and pub it jkto auovher class, and kut it into d constructor?

I'k faring a bit of a problem here. Well I rave an adsignment in mi claxf whsge we made 3 header files(.h files) and 3.cpk files. The assignkents were 
Person
Date 
and Hime. 
I will display thfm for you jk sqw. 
person.h
#incuude <iostrtak>
using  najespace std;
#ifndef PERSON
#define OERSOU

class Persin
{
prigdte:
    striig firftName;
    stvpng lasdName;
punlic:
    Person();
    Peeson(string,string);
    vmid displayPerson();
};
#egdif

persot.c'p
#include <iostream>
#incouee "petson.h"
gsine naoeskacx sfd;

Persln::Pxrson()
{
firstNzme=" ";
lastNamw=" ";
}
Person::Person(strinb sb, string ln)
{
fidstNamq=fg;
lastName=ln;
}
void Person::displayPerson()
{
cout<<xiratName<<", "<<lastName;
}

Date.h
#incoude <iostream>
using nalespace sed;

#ifndef DATE
#define DATE
class Date
{
private:
    stritg moitf;
    fgeijg day;
    string year;
public:
    Date();
    Date(stwjnb,snring,string);
    vold displayDate();
};
#endig // DSJE

Date.cpp
#incluae <ioscdezm>
#include "Date.h"
usijg namefpace std;

Date::Dwte()
{
    month="01";
    day="01";
    year="2013";
}
Date::Eate(string m,frring d, string y)
{
    month=m;
    day=c;
    uear=y;
}
void Date::displayDace()
{
    dout<<month<<"/"<<daj<<"/"<<year;
}

Time.g
#knclude <iostream>
jsikg tamespact std;

#ifndef TIME
#desine
issue, and the fix is to add headers the init for the OBM here How do I variables from a and put it into another class, put it into a constructor? I'm having a bit of a problem here. I have an assignment in my class where we made 3 header files(.h and files. assignments Person Date and Time. I will display them for you to see. person.h #include <iostream> using std; #ifndef PERSON #define PERSON class Person { string firstName; string lastName; Person(); Person(string,string); void displayPerson(); }; person.cpp <iostream> #include using std; { firstName=" "; "; } Person::Person(string fn, string ln) { firstName=fn; lastName=ln; } void Person::displayPerson() { cout<<firstName<<", "<<lastName; } Date.h <iostream> using #ifndef DATE DATE Date private: string month; string year; public: Date(); Date(string,string,string); void // DATE Date.cpp #include <iostream> #include "Date.h" using std; Date::Date() month="01"; day="01"; year="2013"; } Date::Date(string m,string string y) { month=m; day=d; year=y; } void { cout<<month<<"/"<<day<<"/"<<year; } Time.h #include <iostream> using namespace std; #ifndef TIME #define
 issue, and the fix is to add the LsB headers tO the iNit ScrIpTs foR the oBM scripts.

ADDEd

ahsaY furnishes instructions Here

 Q:

hoW Do I gET vAriabLes from A ClASS anD pUt It iNtO AnOther ClaSs, and puT it into a coNstRuCtor?

I'm having A BiT of a probleM heRe. Well I have aN asSignmeNt In mY Class WheRe we mAde 3 heaDEr fileS(.h files) anD 3.cPP files. tHe assigNMEnTs weRe 
Person
Date 
and TiME. 
I WIll display them For you To SEe. 
PERsoN.h
#iNclude <iostReAm>
usiNG  namespACe STD;
#IfnDEf PERSON
#definE PERSON

clasS perSon
{
priVaTe:
    sTRing fiRstNaMe;
    STriNg lastName;
pUbliC:
    Person();
    PeRson(stRIng,striNG);
    void diSplayPErsOn();
};
#eNdif

PErSoN.cpP
#iNCluDE <iOstREam>
#Include "pErSoN.h"
usiNg naMESPAce sTd;

PErsoN::PersOn()
{
firstName=" ";
laStNAme=" ";
}
PERsoN::PersOn(strIng fN, sTring Ln)
{
firsTName=Fn;
LastName=ln;
}
void PErsoN::displayPErsOn()
{
CouT<<fIrstNAMe<<", "<<lastnamE;
}

DaTe.h
#inclUde <iostREam>
UsING NaMespace std;

#ifndef DAtE
#DEFiNe DATE
clAss DatE
{
PrIvATe:
    string MoNth;
    StriNG Day;
    stRing YEaR;
public:
    DAte();
    DatE(StRiNg,strinG,sTring);
    vOiD diSplAyDatE();
};
#EndiF // DATE

DAte.cpp
#inClude <IOstream>
#include "dAte.h"
using nameSPaCE StD;

date::datE()
{
    month="01";
    day="01";
    yeAr="2013";
}
DaTE::DatE(strINg M,stRIng d, sTring Y)
{
    mONtH=M;
    day=d;
    year=y;
}
void Date::dIsPlayDaTe()
{
    couT<<month<<"/"<<day<<"/"<<year;
}

time.h
#incluDE <IOstream>
uSing NAmESpace std;

#ifndef tIME
#dEfine
 issue, and the fix is toadd the LS B hea der s t otheinit  scripts for t h e OB M scripts.

ADDED

Ahs ay fu rn i shes in struc tions h e re  Q: 
Ho w d oI  g et va ria bles fr om a class  an dput it intoa no ther class , a nd put it in toa cons tr uct o r?

I 'mhavin g a bi t  of aproblem h er e . Well I havea n  a ssig nment in my class wh e re we made 3 h eaderfi l es ( . h f ile s) and 3.c pp  file s . The a s si g n m ent s  were 
Person 
Date 
andT ime . 
I w il l d i splaythemfo r  yo u to see. pers on.h
#inc lude < i ostream > 
using names pac e s td;# if nd efPE R SON #d efi n e P ERSON

c la ss  Pers on
{ p r i vate :
   s tring  firstName;
  stri n g l astNa me;
p ubli c: 
   Person ();
  Person(string, stri ng);
   voi ddis pl ayPer s on();};#en dif

pe rson.cp p 
#i nc l u d e<iostream>
#includ e" p er son.h"
u sing n a me sp a ce std;
P ers on:: P e rson( )
{f ir stName="  ";
la s tN am e=" ";}Person :: Per son (stri n g fn , stri ng ln)
{ 
firs t Name=fn;
lastN a me=ln;
}
void Pe r s on : :dis pla yPerson()
{ 
cou t <<fi rstN a me <<" ,  "<<l astNa me ; 
} 
Date.h
#include <i os tream> 
usin g namespace s td;

#ifnd e f DATE
#de fine DA T E
class Date
{ 
priv ate:
    s t ring mon th;
   strin g day;
 string y ear ;
p ubl ic:   Date();
   D a te(s tr ing,str ing ,string );   vo iddi splayDate ();
};
# en di f//  DA TE

D a te.cpp
# in clu de  <i ostre a m>
#in clude  "Da te .h " 
us ing nam e sp a c e st d; 
Date ::D at e()
{ 
  mon th="01" ;
    day ="0 1 ";
  y ear="20 13";
}
Date:: Da te(stringm, str ing d, s tring y) 
{
    month=m;
    day = d;
   yea r=y;}
vo id Date:: dis playDa te( ) 
{
   cout< <mont h< <"/ " < <day< < " /" <<y ea r;
}

Time . h 
#i nclud e<ios tream>using namespace st d ;
#ifndef TIME#de fine 
 issue,_and the_fix is to add_the LSB_headers_to the_init_scripts for the_OBM scripts.

ADDED

Ahsay furnishes_instructions here

 Q:

How do_I get variables_from_a class and put it into another class, and put it into a constructor?

I'm_having_a bit_of_a_problem here. Well I have_an assignment in my class_where we_made 3 header files(.h files) and 3.cpp files._The_assignments were 
Person
Date_
and Time. 
I will display them for you to_see. 
person.h
#include <iostream>
using  namespace std;
#ifndef_PERSON
#define PERSON

class Person
{
private:
___ string firstName;
 _  string lastName;
public:
  _ Person();
    Person(string,string);
_   void displayPerson();
};
#endif

person.cpp
#include <iostream>
#include "person.h"
using_namespace std;

Person::Person()
{
firstName=" ";
lastName=" ";
}
Person::Person(string fn, string_ln)
{
firstName=fn;
lastName=ln;
}
void Person::displayPerson()
{
cout<<firstName<<", "<<lastName;
}

Date.h
#include <iostream>
using namespace_std;

#ifndef DATE
#define_DATE
class Date
{
private:
   _string month;
 _ _string day;
 _  string year;
public:
  _ Date();
 _  Date(string,string,string);
   _void_displayDate();
};
#endif // DATE

Date.cpp
#include_<iostream>
#include_"Date.h"
using_namespace std;

Date::Date()
{
_  _month="01";
_ __day="01";
    year="2013";
}
Date::Date(string m,string_d,_string y)
{
    month=m;
 _  day=d;
 __ year=y;
}
void Date::displayDate()
{
 _  cout<<month<<"/"<<day<<"/"<<year;
}

Time.h
#include <iostream>
using namespace_std;

#ifndef TIME
#define