Click here to Skip to main content
15,843,727 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compilation Problem Pin
Graham Breach15-Dec-12 0:31
Graham Breach15-Dec-12 0:31 
Questionerror C2678: binary '=' Pin
alaaan7313-Dec-12 7:41
alaaan7313-Dec-12 7:41 
SuggestionRe: error C2678: binary '=' Pin
Maximilien13-Dec-12 8:00
Maximilien13-Dec-12 8:00 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:18
alaaan7313-Dec-12 8:18 
AnswerRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 8:30
Chris Meech13-Dec-12 8:30 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:52
alaaan7313-Dec-12 8:52 
GeneralRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 9:17
Chris Meech13-Dec-12 9:17 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 9:59
alaaan7313-Dec-12 9: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 '=' Pin
Chris Meech13-Dec-12 10:06
Chris Meech13-Dec-12 10:06 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 10:24
alaaan7313-Dec-12 10:24 
GeneralRe: error C2678: binary '=' Pin
Freak3014-Dec-12 1:48
Freak3014-Dec-12 1:48 
AnswerRe: error C2678: binary '=' Pin
Richard MacCutchan13-Dec-12 8:33
mveRichard MacCutchan13-Dec-12 8:33 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:55
alaaan7313-Dec-12 8:55 
Questionprocess Pin
messages13-Dec-12 4:45
messages13-Dec-12 4:45 
AnswerRe: process Pin
David Crow13-Dec-12 5:14
David Crow13-Dec-12 5:14 
GeneralRe: process Pin
messages13-Dec-12 5:18
messages13-Dec-12 5:18 
Questionexporting data from C++ to C Pin
danielsutopo12-Dec-12 16:00
danielsutopo12-Dec-12 16:00 
AnswerRe: exporting data from C++ to C Pin
Richard MacCutchan12-Dec-12 23:35
mveRichard MacCutchan12-Dec-12 23:35 
GeneralRe: exporting data from C++ to C Pin
danielsutopo15-Dec-12 14:45
danielsutopo15-Dec-12 14:45 
GeneralRe: exporting data from C++ to C Pin
Richard MacCutchan15-Dec-12 21:59
mveRichard MacCutchan15-Dec-12 21:59 
GeneralRe: exporting data from C++ to C Pin
danielsutopo16-Dec-12 12:50
danielsutopo16-Dec-12 12:50 
GeneralRe: exporting data from C++ to C Pin
Richard MacCutchan16-Dec-12 22:47
mveRichard MacCutchan16-Dec-12 22:47 
AnswerRe: exporting data from C++ to C Pin
Albert Holguin13-Dec-12 6:26
professionalAlbert Holguin13-Dec-12 6:26 
QuestionOverlaying Text over Video Pin
SrivathsanRaghavan11-Dec-12 20:25
SrivathsanRaghavan11-Dec-12 20:25 
AnswerRe: Overlaying Text over Video Pin
Richard MacCutchan11-Dec-12 22:05
mveRichard MacCutchan11-Dec-12 22:05 

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.