Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Combo box values Pin
toxcct16-Dec-04 8:03
toxcct16-Dec-04 8:03 
GeneralRe: Combo box values Pin
Maximilien16-Dec-04 8:54
Maximilien16-Dec-04 8:54 
GeneralRe: Combo box values Pin
toxcct16-Dec-04 9:32
toxcct16-Dec-04 9:32 
GeneralCoursework Help Pin
Flame12316-Dec-04 1:05
Flame12316-Dec-04 1:05 
GeneralRe: Coursework Help Pin
David Crow16-Dec-04 4:18
David Crow16-Dec-04 4:18 
GeneralRe: Coursework Help Pin
Anonymous16-Dec-04 4:38
Anonymous16-Dec-04 4:38 
GeneralRe: Coursework Help Pin
David Crow16-Dec-04 5:33
David Crow16-Dec-04 5:33 
GeneralRe: Coursework Help Pin
Flame12316-Dec-04 6:50
Flame12316-Dec-04 6:50 
Ok I managed to get the coding. Phewww This is what i have done so far but i have no idea how to finish it off according to the requirements. i still need to

one to open a file for writing
one to determine if a client already exists
one to create a new client
one to calulate days remaining in membership
one to generate a reminder letter
one to write to and close the file

Could u help me finish this off. Where it says Here is choice i haven't finished validating that bit cos i am still testing to see if it all works. here is the coding:

struct Member {
string member_name;
string member_emailaddress;
int membership_days_reamaining;
};

int main(void)
{
int user_choice; //will be the user's choice of menu item
user_choice = runMenu(); \\gets the choice by running a function
while(user_choice != 6) \\loops until user quits
{
doStuff(); \\this will be the function to perform manipulations
user_choice = runMenu(); \\reloads the user choice
}
return 0; \\end of driver
}

}
int runMenu() \\displays menu and returns user choice
{
int ret_value;
cout<<"Here is choice 1"<<endl;
cout<<"here="" is="" choice="" 2"<<endl;
="" 3"<<endl;
="" 4"<<endl;
="" 5"<<endl;
="" cout<<"hit="" 6="" to="" quit"<<endl;
="" cout<<"please="" pick="" one"<<endl;
="" cin="">> ret_value;
return ret_value;
}
GeneralRe: Coursework Help Pin
David Crow16-Dec-04 7:33
David Crow16-Dec-04 7:33 
GeneralRe: Coursework Help Pin
Anonymous16-Dec-04 7:55
Anonymous16-Dec-04 7:55 
GeneralRe: Coursework Help Pin
Flame12316-Dec-04 8:07
Flame12316-Dec-04 8:07 
GeneralResizable treeview/listbox in a window Pin
tintin7715-Dec-04 23:06
tintin7715-Dec-04 23:06 
GeneralRe: Resizable treeview/listbox in a window Pin
Maximilien16-Dec-04 0:18
Maximilien16-Dec-04 0:18 
GeneralRe: Resizable treeview/listbox in a window Pin
tintin7716-Dec-04 1:47
tintin7716-Dec-04 1:47 
GeneralRe: Resizable treeview/listbox in a window Pin
Blake Miller16-Dec-04 3:58
Blake Miller16-Dec-04 3:58 
GeneralList control - MFC Pin
nemarc15-Dec-04 21:47
professionalnemarc15-Dec-04 21:47 
GeneralRe: List control - MFC Pin
vikramlinux15-Dec-04 22:28
vikramlinux15-Dec-04 22:28 
GeneralRe: List control - MFC Pin
nemarc15-Dec-04 22:39
professionalnemarc15-Dec-04 22:39 
GeneralRe: List control - MFC Pin
vikramlinux15-Dec-04 22:42
vikramlinux15-Dec-04 22:42 
GeneralRe: List control - MFC Pin
nemarc15-Dec-04 23:06
professionalnemarc15-Dec-04 23:06 
GeneralRe: List control - MFC Pin
vikramlinux15-Dec-04 23:27
vikramlinux15-Dec-04 23:27 
GeneralRe: List control - MFC Pin
nemarc16-Dec-04 0:10
professionalnemarc16-Dec-04 0:10 
GeneralRe: List control - MFC Pin
toxcct16-Dec-04 1:56
toxcct16-Dec-04 1:56 
GeneralSend byte Array from VB to C(VC) Pin
pinhas15-Dec-04 20:01
pinhas15-Dec-04 20:01 
GeneralRe: Send byte Array from VB to C(VC) Pin
Cedric Moonen15-Dec-04 21:29
Cedric Moonen15-Dec-04 21:29 

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.