Click here to Skip to main content
11,505,005 members (68,174 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 
Questionhow can get a disk number of a logical drive? Pin
Le@rner9-Nov-12 19:42
memberLe@rner9-Nov-12 19:42 
AnswerRe: how can get a disk number of a logical drive? Pin
Richard MacCutchan9-Nov-12 23:28
mvpRichard MacCutchan9-Nov-12 23:28 
GeneralRe: how can get a disk number of a logical drive? Pin
Le@rner10-Nov-12 0:05
memberLe@rner10-Nov-12 0:05 
GeneralRe: how can get a disk number of a logical drive? Pin
Richard MacCutchan10-Nov-12 0:11
mvpRichard MacCutchan10-Nov-12 0:11 
AnswerRe: how can get a disk number of a logical drive? Pin
André Kraak10-Nov-12 0:18
memberAndré Kraak10-Nov-12 0:18 
QuestionInfix to Postfix Converter Pin
ShayanTanwir9-Nov-12 17:52
memberShayanTanwir9-Nov-12 17:52 
AnswerRe: Infix to Postfix Converter Pin
Richard MacCutchan9-Nov-12 23:27
mvpRichard MacCutchan9-Nov-12 23:27 
AnswerRe: Infix to Postfix Converter Pin
DavidCrow11-Nov-12 15:59
memberDavidCrow11-Nov-12 15:59 
QuestionHow to stop typing in CDateTimeCtrl in MFC Pin
rahul.kulshreshtha7-Nov-12 16:47
memberrahul.kulshreshtha7-Nov-12 16:47 
AnswerRe: How to stop typing in CDateTimeCtrl in MFC Pin
Jochen Arndt7-Nov-12 23:32
memberJochen Arndt7-Nov-12 23:32 
GeneralRe: How to stop typing in CDateTimeCtrl in MFC Pin
rahul.kulshreshtha8-Nov-12 5:52
memberrahul.kulshreshtha8-Nov-12 5:52 
GeneralRe: How to stop typing in CDateTimeCtrl in MFC Pin
Jochen Arndt8-Nov-12 6:32
memberJochen Arndt8-Nov-12 6:32 
Question[MFC] How to save three ini files as zip file? Pin
yu-jian7-Nov-12 5:20
groupyu-jian7-Nov-12 5:20 
AnswerRe: [MFC] How to save three ini files as zip file? Pin
jeron17-Nov-12 6:17
memberjeron17-Nov-12 6:17 
AnswerRe: [MFC] How to save three ini files as zip file? Pin
ProgramFOX7-Nov-12 7:35
memberProgramFOX7-Nov-12 7:35 
QuestionWhy new Image failed? Pin
yu-jian7-Nov-12 4:06
groupyu-jian7-Nov-12 4:06 
AnswerRe: Why new Image failed? Pin
Andrew Cherednik7-Nov-12 12:12
memberAndrew Cherednik7-Nov-12 12:12 
AnswerRe: Why new Image failed? Pin
Santhosh G_7-Nov-12 12:59
memberSanthosh G_7-Nov-12 12:59 
GeneralRe: Why new Image failed? Pin
yu-jian15-Nov-12 16:41
groupyu-jian15-Nov-12 16:41 
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 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web04 | 2.8.150520.1 | Last Updated 3 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid