Click here to Skip to main content

C / C++ / MFC

 
QuestionASM with stams library of C ++ PinmemberGurunathkudalkar18-Dec-12 22:15 
AnswerRe: ASM with stams library of C ++ PinmvpCPallini18-Dec-12 23:19 
Questionerror C2228 "must have class/struct/union" Pinmemberalaaan7318-Dec-12 5:55 
AnswerRe: error C2228 "must have class/struct/union" PinmemberChris Losinger18-Dec-12 6:19 
alaaan73 wrote:
Passenger.setPassengerName(psngr.getPassengerName());
passenger.setPassportNumber(psngr.getPassportNumber());

 
as far as i can tell, you have not declared any variables named "Passenger" or "passenger".
 
reservations.smokerSeat=smoker;
you have declared reservations as a pointer to a pointer to a Reservation.
 
Reservation** reservations;
so you can't use "reservations.smokerSeat". you would have to declare it as:
Reservation reservations;
 
etc..

AnswerRe: error C2228 "must have class/struct/union" PinmvpRichard MacCutchan18-Dec-12 8:09 
AnswerRe: error C2228 "must have class/struct/union" PinmemberStefan_Lang21-Dec-12 2:59 
QuestionCan we capture HD video using DirectShow C++/MFC .? Pinmembermbatra3118-Dec-12 0:30 
QuestionCWinApp::OnFileNew failed ? PinmemberCodzer17-Dec-12 20:23 
GeneralRe: CWinApp::OnFileNew failed ? PinmemberJochen Arndt17-Dec-12 22:33 
GeneralRe: CWinApp::OnFileNew failed ? PinmemberCodzer18-Dec-12 3:48 

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.150327.1 | Last Updated 29 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid