Click here to Skip to main content
15,913,246 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThread blocking Pin
mehrdadov26-May-07 0:12
mehrdadov26-May-07 0:12 
AnswerRe: Thread blocking Pin
Taka Muraoka26-May-07 1:09
Taka Muraoka26-May-07 1:09 
GeneralRe: Thread blocking Pin
mehrdadov26-May-07 2:08
mehrdadov26-May-07 2:08 
GeneralRe: Thread blocking Pin
Taka Muraoka26-May-07 2:22
Taka Muraoka26-May-07 2:22 
AnswerRe: Thread blocking Pin
Arman S.26-May-07 1:31
Arman S.26-May-07 1:31 
GeneralRe: Thread blocking Pin
mehrdadov26-May-07 2:12
mehrdadov26-May-07 2:12 
GeneralRe: Thread blocking Pin
Mark Salsbery26-May-07 6:23
Mark Salsbery26-May-07 6:23 
Questionvector and map Pin
C_Zealot25-May-07 23:53
C_Zealot25-May-07 23:53 
Hi all:

I have a question here:

I successfully read all the words from a text file one by one, and all the words have been stored in a "map<string, int="">", where "string" is a word and "int" is the number of total occurrence of the word.

Now I need to put all the words into a "vector<string>", what I have done is pretty silly:

vector<string> Vec(this->table.begin(),this->table.end());

Since the are all members of a class WordTable, so I used this-> pointer.

I think my mistake is trying to use:

vector( input_iterator start, input_iterator end ); but I used wrong pointers.


Can any one help?

Thank you
AnswerSolution found but still buggy. Pin
C_Zealot26-May-07 0:28
C_Zealot26-May-07 0:28 
GeneralRe: Solution found but still buggy. Pin
Taka Muraoka26-May-07 1:11
Taka Muraoka26-May-07 1:11 
GeneralRe: Solution found but still buggy. Pin
C_Zealot26-May-07 1:15
C_Zealot26-May-07 1:15 
Questionpls help me Pin
deeps_cute25-May-07 22:18
deeps_cute25-May-07 22:18 
AnswerRe: pls help me Pin
Hans Dietrich26-May-07 15:01
mentorHans Dietrich26-May-07 15:01 
AnswerRe: pls help me Pin
Michael Dunn26-May-07 20:49
sitebuilderMichael Dunn26-May-07 20:49 
Question860305 - Alt+Tab in Emulator Pin
ilostmyid225-May-07 21:18
professionalilostmyid225-May-07 21:18 
QuestionProblem with pointer Pin
zeus200025-May-07 18:58
zeus200025-May-07 18:58 
AnswerRe: Problem with pointer Pin
Michael Dunn25-May-07 21:26
sitebuilderMichael Dunn25-May-07 21:26 
AnswerRe: Problem with pointer Pin
CPallini25-May-07 22:15
mveCPallini25-May-07 22:15 
AnswerRe: Problem with pointer Pin
zeus200027-May-07 0:02
zeus200027-May-07 0:02 
GeneralRe: Problem with pointer Pin
Niklas L28-May-07 0:26
Niklas L28-May-07 0:26 
QuestionQuestion regarding Directshow and custom video capture Pin
godspeed12325-May-07 15:32
godspeed12325-May-07 15:32 
AnswerRe: Question regarding Directshow and custom video capture Pin
Mark Salsbery26-May-07 6:33
Mark Salsbery26-May-07 6:33 
QuestionAfxMessageBox stop working after split the frame Pin
gurucplusplus25-May-07 14:01
gurucplusplus25-May-07 14:01 
AnswerRe: AfxMessageBox stop working after split the frame Pin
Demian Panello25-May-07 15:31
Demian Panello25-May-07 15:31 
GeneralRe: AfxMessageBox stop working after split the frame Pin
gurucplusplus25-May-07 16:52
gurucplusplus25-May-07 16:52 

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.