Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: error C2678: binary '=' PinmemberChris Meech13-Dec-12 7:30 
GeneralRe: error C2678: binary '=' Pinmemberalaaan7313-Dec-12 7:52 
GeneralRe: error C2678: binary '=' PinmemberChris Meech13-Dec-12 8:17 
GeneralRe: error C2678: binary '=' Pinmemberalaaan7313-Dec-12 8:59 
can you help me how can i add the passenger constructor in the cpp file
 
this is the passenger constructor :
#include <iostream>
#include "Passenger.h"
using namespace std;
 
Passenger::Passenger(string a="",string b="",long c=0)//Constructor that initializes the data members to given parameters
{
	setPassengerName(a);
	setPassportNumber(b);
	setContactNumber(c);
} //end constuctor Passenger body


many thanks
GeneralRe: error C2678: binary '=' PinmemberChris Meech13-Dec-12 9:06 
GeneralRe: error C2678: binary '=' Pinmemberalaaan7313-Dec-12 9:24 
GeneralRe: error C2678: binary '=' PinmemberFreak3014-Dec-12 0:48 
AnswerRe: error C2678: binary '=' PinmvpRichard MacCutchan13-Dec-12 7:33 
GeneralRe: error C2678: binary '=' Pinmemberalaaan7313-Dec-12 7:55 
Questionprocess Pinmembermessages13-Dec-12 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 13 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid