Click here to Skip to main content
13,143,985 members (35,044 online)

C / C++ / MFC

 
GeneralRe: I am Bemused about std::list<> Pin
Richard MacCutchan13-Nov-12 6:43
mvpRichard MacCutchan13-Nov-12 6:43 
QuestionRe: I am Bemused about std::list<> Pin
DavidCrow13-Nov-12 8:05
memberDavidCrow13-Nov-12 8:05 
AnswerRe: I am Bemused about std::list<> Pin
Stephen Hewitt13-Nov-12 15:13
memberStephen Hewitt13-Nov-12 15:13 
QuestionPDF Accessing problem Pin
BianChengNan12-Nov-12 17:22
memberBianChengNan12-Nov-12 17:22 
QuestionSendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 8:02
membervikuseth12-Nov-12 8:02 
AnswerRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
Richard MacCutchan12-Nov-12 9:11
mvpRichard MacCutchan12-Nov-12 9:11 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 9:29
membervikuseth12-Nov-12 9:29 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
Richard MacCutchan12-Nov-12 9:35
mvpRichard MacCutchan12-Nov-12 9:35 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 9:39
membervikuseth12-Nov-12 9:39 
GeneralRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
Richard MacCutchan12-Nov-12 23:01
mvpRichard MacCutchan12-Nov-12 23:01 
QuestionRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
DavidCrow12-Nov-12 10:18
memberDavidCrow12-Nov-12 10:18 
AnswerRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth12-Nov-12 22:07
membervikuseth12-Nov-12 22:07 
AnswerRe: SendMessage(...) MFC is not working in win 7 enterprise edition Pin
vikuseth14-Nov-12 1:04
membervikuseth14-Nov-12 1:04 
QuestionDoes this way to clear all item from std::map have problem? Pin
yu-jian11-Nov-12 1:47
groupyu-jian11-Nov-12 1:47 
    std::list<int>    lstDevices;
    ...
    ...
std::list<int>::iterator iter;
std::list<int>::iterator iter2Delete;
for(iter = lstDevices.begin(); iter != lstDevices.end();)
{
    iter2Delete = iter++;
            lstDevices.erase(iter2Delete);
}

Use iter2Delete to save current iterator and then let iter pointer to next item. Then delete current item. Does this way have problem?
AnswerRe: Does this way to clear all item from std::map have problem? Pin
Richard MacCutchan11-Nov-12 6:18
mvpRichard MacCutchan11-Nov-12 6:18 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
yu-jian11-Nov-12 19:50
groupyu-jian11-Nov-12 19:50 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
Richard MacCutchan11-Nov-12 21:35
mvpRichard MacCutchan11-Nov-12 21:35 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
Stephen Hewitt12-Nov-12 1:43
memberStephen Hewitt12-Nov-12 1:43 
GeneralRe: Does this way to clear all item from std::map have problem? Pin
yu-jian12-Nov-12 3:06
groupyu-jian12-Nov-12 3:06 
QuestionGetting pasted test Pin
Hadi Dayvary10-Nov-12 4:20
memberHadi Dayvary10-Nov-12 4:20 
AnswerRe: Getting pasted test Pin
Richard MacCutchan10-Nov-12 6:05
mvpRichard MacCutchan10-Nov-12 6:05 
GeneralRe: Getting pasted test Pin
Hadi Dayvary10-Nov-12 20:29
memberHadi Dayvary10-Nov-12 20:29 
GeneralRe: Getting pasted test Pin
Richard MacCutchan10-Nov-12 21:27
mvpRichard MacCutchan10-Nov-12 21:27 
QuestionDialogBox fail in XP Pin
William Engberts7-Nov-12 3:32
memberWilliam Engberts7-Nov-12 3:32 
QuestionRe: DialogBox fail in XP Pin
CPallini7-Nov-12 10:06
mvpCPallini7-Nov-12 10:06 
AnswerRe: DialogBox fail in XP Pin
Andrew Cherednik7-Nov-12 12:20
memberAndrew Cherednik7-Nov-12 12:20 
GeneralRe: DialogBox fail in XP Pin
William Engberts7-Nov-12 22:36
memberWilliam Engberts7-Nov-12 22:36 
SuggestionRe: DialogBox fail in XP Pin
Andrew Cherednik7-Nov-12 22:59
memberAndrew Cherednik7-Nov-12 22:59 
GeneralRe: DialogBox fail in XP Pin
William Engberts7-Nov-12 23:30
memberWilliam Engberts7-Nov-12 23:30 
QuestionRe: DialogBox fail in XP Pin
DavidCrow8-Nov-12 4:21
memberDavidCrow8-Nov-12 4:21 
AnswerRe: DialogBox fail in XP Pin
William Engberts8-Nov-12 5:00
memberWilliam Engberts8-Nov-12 5:00 
Questionhow to call a dll indipendent of path where it located in a system? Pin
litu kumar6-Nov-12 0:52
memberlitu kumar6-Nov-12 0:52 
AnswerRe: how to call a dll indipendent of path where it located in a system? Pin
jschell6-Nov-12 9:13
memberjschell6-Nov-12 9:13 
GeneralRe: how to call a dll indipendent of path where it located in a system? Pin
litu kumar6-Nov-12 18:02
memberlitu kumar6-Nov-12 18:02 
GeneralRe: how to call a dll indipendent of path where it located in a system? Pin
jschell7-Nov-12 7:51
memberjschell7-Nov-12 7:51 
QuestionVery happy with C++11 Pin
_Josh_5-Nov-12 16:33
member_Josh_5-Nov-12 16:33 
AnswerRe: Very happy with C++11 Pin
Sarath C5-Nov-12 19:01
memberSarath C5-Nov-12 19:01 
AnswerRe: Very happy with C++11 Pin
Richard MacCutchan5-Nov-12 22:25
mvpRichard MacCutchan5-Nov-12 22:25 
GeneralRe: Very happy with C++11 Pin
Joe Woodbury6-Nov-12 7:32
memberJoe Woodbury6-Nov-12 7:32 
GeneralRe: Very happy with C++11 Pin
_Josh_6-Nov-12 8:50
member_Josh_6-Nov-12 8:50 
GeneralRe: Very happy with C++11 Pin
Richard MacCutchan6-Nov-12 21:27
mvpRichard MacCutchan6-Nov-12 21:27 
GeneralRe: Very happy with C++11 Pin
_Josh_6-Nov-12 22:09
member_Josh_6-Nov-12 22:09 
AnswerRe: Very happy with C++11 Pin
Chris Losinger6-Nov-12 2:05
memberChris Losinger6-Nov-12 2:05 
GeneralRe: Very happy with C++11 Pin
_Josh_6-Nov-12 8:51
member_Josh_6-Nov-12 8:51 
QuestionRe: Very happy with C++11 Pin
DavidCrow6-Nov-12 3:00
memberDavidCrow6-Nov-12 3:00 
AnswerRe: Very happy with C++11 Pin
Maximilien6-Nov-12 3:24
memberMaximilien6-Nov-12 3:24 
AnswerRe: Very happy with C++11 Pin
Chris Losinger6-Nov-12 9:01
memberChris Losinger6-Nov-12 9:01 
Questionhow to get drive list without using COM? Pin
Le@rner4-Nov-12 23:15
memberLe@rner4-Nov-12 23:15 
AnswerRe: how to get drive list without using COM? Pin
Santhosh G_4-Nov-12 23:37
memberSanthosh G_4-Nov-12 23:37 
GeneralRe: how to get drive list without using COM? Pin
Le@rner4-Nov-12 23:41
memberLe@rner4-Nov-12 23:41 

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.


Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 22 Sep 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid