Click here to Skip to main content
15,917,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Making a CEdit control word-wrap? Pin
IGx8915-Dec-03 14:31
IGx8915-Dec-03 14:31 
Generalundeclared identifier ,even when i declared it Pin
svsrikanth15-Dec-03 9:38
svsrikanth15-Dec-03 9:38 
GeneralRe: undeclared identifier ,even when i declared it Pin
Christian Graus15-Dec-03 10:02
protectorChristian Graus15-Dec-03 10:02 
GeneralRe: undeclared identifier ,even when i declared it Pin
svsrikanth17-Dec-03 5:06
svsrikanth17-Dec-03 5:06 
GeneralRe: undeclared identifier ,even when i declared it Pin
Christian Graus17-Dec-03 12:10
protectorChristian Graus17-Dec-03 12:10 
GeneralRe: undeclared identifier ,even when i declared it Pin
Anonymous15-Dec-03 17:14
Anonymous15-Dec-03 17:14 
GeneralRe: undeclared identifier ,even when i declared it Pin
svsrikanth17-Dec-03 5:08
svsrikanth17-Dec-03 5:08 
Generalproject Pin
sakota15-Dec-03 8:46
sakota15-Dec-03 8:46 
Hello all,
I'm a really new c++ programmer in the U.S. Navy. I'm trying to write an airline reservation program with a class list{} class flight{} and class passenger that has to read passengers and files from a file. I have no idea how to start this program. Any help would be appreciated. this is what I was given for it. Struct flight { int number; //flight number
char *from; //departure city
char *to //destination city
struct flight *next; // link to next flight
struct pass *pass //link to passengers
};
struct pass
{
char *first; //first name
char *last; // last name
char seat[4] //seat number
struct pass *pass; // link to passengers

struct header
{
struct flight *first;
struct flight *last;
int howmany; //howmany flights

Any help on getting started with the accessors and constructors I might need would help a lot. I did this school that I was made to do in a week and trying to learn all of c++ in a week is not easy. If anyone has any good ideas on a start or how I should go about doing this please help me.

ThanksConfused | :confused:
GeneralRe: project Pin
Christian Graus15-Dec-03 10:07
protectorChristian Graus15-Dec-03 10:07 
GeneralRe: project Pin
sakota15-Dec-03 10:57
sakota15-Dec-03 10:57 
GeneralRe: project Pin
Christian Graus15-Dec-03 11:17
protectorChristian Graus15-Dec-03 11:17 
GeneralRe: project Pin
sakota15-Dec-03 11:04
sakota15-Dec-03 11:04 
GeneralRe: project Pin
Christian Graus15-Dec-03 11:18
protectorChristian Graus15-Dec-03 11:18 
GeneralRe: project Pin
sakota16-Dec-03 12:32
sakota16-Dec-03 12:32 
GeneralRe: project Pin
Christian Graus16-Dec-03 12:48
protectorChristian Graus16-Dec-03 12:48 
GeneralRe: project Pin
Jörgen Sigvardsson15-Dec-03 10:12
Jörgen Sigvardsson15-Dec-03 10:12 
GeneralRe: project Pin
Christian Graus15-Dec-03 10:15
protectorChristian Graus15-Dec-03 10:15 
GeneralRe: project Pin
Bob Stanneveld15-Dec-03 21:31
Bob Stanneveld15-Dec-03 21:31 
GeneralUsing the string class within other classes Pin
dolus15-Dec-03 8:34
dolus15-Dec-03 8:34 
GeneralRe: Using the string class within other classes Pin
Christian Graus15-Dec-03 8:48
protectorChristian Graus15-Dec-03 8:48 
Generalhummm....... thread question Pin
Alan Kozlay15-Dec-03 8:03
Alan Kozlay15-Dec-03 8:03 
GeneralRe: hummm....... thread question Pin
Alexander M.,16-Dec-03 8:59
Alexander M.,16-Dec-03 8:59 
Generalincluding 2 user defined header files Pin
Mr. Cully15-Dec-03 7:59
Mr. Cully15-Dec-03 7:59 
GeneralRe: including 2 user defined header files Pin
Christian Graus15-Dec-03 8:50
protectorChristian Graus15-Dec-03 8:50 
GeneralRe: including 2 user defined header files Pin
John M. Drescher15-Dec-03 9:28
John M. Drescher15-Dec-03 9:28 

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.