Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Advanced Pointers and References Pin
aquawicket8-Oct-07 5:42
aquawicket8-Oct-07 5:42 
GeneralRe: Advanced Pointers and References Pin
aquawicket8-Oct-07 6:31
aquawicket8-Oct-07 6:31 
Questionerror no such interface supported Pin
jomons8-Oct-07 4:28
jomons8-Oct-07 4:28 
AnswerRe: error no such interface supported Pin
Iain Clarke, Warrior Programmer8-Oct-07 6:31
Iain Clarke, Warrior Programmer8-Oct-07 6:31 
QuestionHorizontal scroll bar for CListCtrl(report view) Pin
shir_k8-Oct-07 4:05
shir_k8-Oct-07 4:05 
QuestionGenerate class diagrams - VS2005 MFC C++ Pin
Andy H8-Oct-07 3:43
Andy H8-Oct-07 3:43 
AnswerRe: Generate class diagrams - VS2005 MFC C++ Pin
Maxwell Chen8-Oct-07 21:45
Maxwell Chen8-Oct-07 21:45 
QuestionCan Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 3:23
oronnorh8-Oct-07 3:23 
Hello friends,
I have got a problem with one of my C++ program. One of my friend asked me to a program for her but it needs to be done by using vector. Though i have knowledge about string and class but no idea about vector. Please responce if you are able..thanks

1) void displayList(const vector<string>& nameList, const vector<int>& teleNumList) : This function displays the name and the corresponding number of all the persons in stored in nameList. The nameList contains the name list and teleNumList contains the corresponding telephone numbers. The pre-conditions are that both nameList and teleNumList have the same size and nth element of nameList corresponds to the nth element of teleNumList.

2) void append(const string& name, int teleNum, vector<string>& nameList, vector<int>& teleNumList) : This function appends the person name and the corresponding telephone number teleNum to the nameList and the teleNumList respectively.

3) bool update(const string& name, int teleNum, const vector<string>& nameList, vector<int>& teleNumList) : This function updates the telephone number of the person name to teleNum. The nameList and the teleNumList are the name list and the corresponding telephone number list. If it fails to find the person, it returns false otherwise it returns true.

4) bool erase(const string& name, vector<string>& nameList, vector<int>& teleNumList) : This function erases the person and the corresponding telephone number of the person name. The nameList and the teleNumList are the name list and the corresponding telephone number list. If it fails to find the person, it returns false otherwise it returns true.

%%{a man widout face}%%
QuestionRe: Can Some one please help me out very urgent ? Pin
David Crow8-Oct-07 3:30
David Crow8-Oct-07 3:30 
AnswerRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 3:36
oronnorh8-Oct-07 3:36 
GeneralRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 3:39
toxcct8-Oct-07 3:39 
GeneralRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 4:38
oronnorh8-Oct-07 4:38 
GeneralRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 4:43
toxcct8-Oct-07 4:43 
GeneralRe: Can Some one please help me out very urgent ? Pin
David Crow8-Oct-07 4:02
David Crow8-Oct-07 4:02 
QuestionRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 4:35
oronnorh8-Oct-07 4:35 
AnswerRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 4:40
toxcct8-Oct-07 4:40 
AnswerRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 4:46
oronnorh8-Oct-07 4:46 
GeneralRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 4:51
toxcct8-Oct-07 4:51 
AnswerRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 4:59
oronnorh8-Oct-07 4:59 
GeneralRe: Can Some one please help me out very urgent ? Pin
jhwurmbach8-Oct-07 4:54
jhwurmbach8-Oct-07 4:54 
GeneralRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 5:03
toxcct8-Oct-07 5:03 
AnswerRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 3:31
toxcct8-Oct-07 3:31 
GeneralRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 4:41
oronnorh8-Oct-07 4:41 
GeneralRe: Can Some one please help me out very urgent ? Pin
toxcct8-Oct-07 4:45
toxcct8-Oct-07 4:45 
AnswerRe: Can Some one please help me out very urgent ? Pin
oronnorh8-Oct-07 4:57
oronnorh8-Oct-07 4:57 

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.