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

C / C++ / MFC

 
GeneralRe: afxloadlibrary Pin
PJ Arends17-Jul-04 15:26
professionalPJ Arends17-Jul-04 15:26 
GeneralRe: afxloadlibrary Pin
the_augy18-Jul-04 10:21
the_augy18-Jul-04 10:21 
GeneralRe: afxloadlibrary Pin
the_augy18-Jul-04 10:23
the_augy18-Jul-04 10:23 
GeneralRe: afxloadlibrary Pin
PJ Arends18-Jul-04 10:29
professionalPJ Arends18-Jul-04 10:29 
GeneralRe: afxloadlibrary Pin
Anonymous18-Jul-04 12:58
Anonymous18-Jul-04 12:58 
GeneralRe: afxloadlibrary Pin
PJ Arends19-Jul-04 0:38
professionalPJ Arends19-Jul-04 0:38 
Generalplane seats Pin
rex4417-Jul-04 13:40
rex4417-Jul-04 13:40 
GeneralRe: plane seats Pin
Johan Rosengren17-Jul-04 20:45
Johan Rosengren17-Jul-04 20:45 
Your question is quite unclear - and this goes for the code as well.

Let us assume that this is not an assignment question and you are actually trying to learn C++ on your own Smile | :)

Have a class with the seat array as a member. Add functions to set a first- or second class seat, returning true or false depending on if it is possible or not. If the function returns false in your assigment loop, ask and try the other function.

The important thing - try to break the problem down into smaller pieces, think functions, not having one big loop doing it all, you'll never learn programming that way.
GeneralA crashing DC... Pin
0v3rloader17-Jul-04 11:36
0v3rloader17-Jul-04 11:36 
GeneralRe: A crashing DC... Pin
Michael Dunn17-Jul-04 14:12
sitebuilderMichael Dunn17-Jul-04 14:12 
GeneralRe: A crashing DC... Pin
0v3rloader17-Jul-04 21:23
0v3rloader17-Jul-04 21:23 
GeneralRe: A crashing DC... Pin
Jörgen Sigvardsson18-Jul-04 0:03
Jörgen Sigvardsson18-Jul-04 0:03 
GeneralAffine Transformation Pin
wyoung17-Jul-04 11:20
wyoung17-Jul-04 11:20 
GeneralRe: Affine Transformation Pin
Andrew Walker17-Jul-04 18:27
Andrew Walker17-Jul-04 18:27 
GeneralAC-3 Pin
Alexander M.,17-Jul-04 10:03
Alexander M.,17-Jul-04 10:03 
GeneralRe: AC-3 Pin
bikram singh17-Jul-04 10:06
bikram singh17-Jul-04 10:06 
GeneralThreading and non User-Interface Classes Pin
0v3rloader17-Jul-04 6:35
0v3rloader17-Jul-04 6:35 
GeneralRe: Threading and non User-Interface Classes Pin
Antti Keskinen17-Jul-04 7:04
Antti Keskinen17-Jul-04 7:04 
GeneralRe: Threading and non User-Interface Classes Pin
0v3rloader17-Jul-04 7:30
0v3rloader17-Jul-04 7:30 
GeneralRe: Threading and non User-Interface Classes Pin
PJ Arends17-Jul-04 7:39
professionalPJ Arends17-Jul-04 7:39 
GeneralRe: Threading and non User-Interface Classes Pin
Antti Keskinen18-Jul-04 3:29
Antti Keskinen18-Jul-04 3:29 
GeneralStatic lib Pin
Atlence17-Jul-04 5:46
Atlence17-Jul-04 5:46 
GeneralRe: Static lib Pin
Antti Keskinen17-Jul-04 7:09
Antti Keskinen17-Jul-04 7:09 
GeneralControl similar to Windows 2000 peroformance tab Pin
Azghar Hussain17-Jul-04 5:00
professionalAzghar Hussain17-Jul-04 5:00 
GeneralRe: Control similar to Windows 2000 peroformance tab Pin
Johan Rosengren17-Jul-04 5:22
Johan Rosengren17-Jul-04 5:22 

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.