Click here to Skip to main content
15,918,050 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: pointers to class Pin
hrishiS9-Jul-09 1:26
hrishiS9-Jul-09 1:26 
GeneralRe: pointers to class Pin
Adam Roderick J9-Jul-09 1:37
Adam Roderick J9-Jul-09 1:37 
QuestionRe: pointers to class Pin
CPallini9-Jul-09 1:41
mveCPallini9-Jul-09 1:41 
AnswerRe: pointers to class Pin
«_Superman_»9-Jul-09 1:49
professional«_Superman_»9-Jul-09 1:49 
QuestionRAII / RIIA best-practices question about std::vector Pin
Mike the Red9-Jul-09 0:30
Mike the Red9-Jul-09 0:30 
AnswerRe: RAII / RIIA best-practices question about std::vector Pin
Stuart Dootson9-Jul-09 2:06
professionalStuart Dootson9-Jul-09 2:06 
QuestionSo, that means.... Pin
Mike the Red9-Jul-09 2:23
Mike the Red9-Jul-09 2:23 
AnswerRe: Fair 'nuff, but, if vector deallocates, can you see why this leaks: Pin
Stuart Dootson9-Jul-09 2:25
professionalStuart Dootson9-Jul-09 2:25 
Ummmm - the vector hasn't been destructed when you call _CrtDumpMemoryLeaks...
Try this:

#include <iostream>
#include <tchar.h>
#include <vector>

int _tmain(int argc, _TCHAR* argv[])
{
	_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );

	{
		vector<char *> vc;
		vc.push_back("test");
	}

	_CrtDumpMemoryLeaks();

	return 0;
}


Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

Jokeheh.. beat my edit by 2 minutes ; P &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -nt- Pin
Mike the Red9-Jul-09 2:33
Mike the Red9-Jul-09 2:33 
GeneralRe: heh.. beat my edit by 2 minutes ; P &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -nt- Pin
Stuart Dootson9-Jul-09 2:36
professionalStuart Dootson9-Jul-09 2:36 
Questioncolored tabcontrol for smartphone Pin
emre079-Jul-09 0:24
emre079-Jul-09 0:24 
QuestionHow to read 'MODIFY' File/Folder permission Pin
sumd9-Jul-09 0:06
sumd9-Jul-09 0:06 
AnswerRe: How to read 'MODIFY' File/Folder permission Pin
Adam Roderick J9-Jul-09 0:42
Adam Roderick J9-Jul-09 0:42 
GeneralRe: How to read 'MODIFY' File/Folder permission Pin
sumd9-Jul-09 2:12
sumd9-Jul-09 2:12 
GeneralRe: How to read 'MODIFY' File/Folder permission Pin
Adam Roderick J9-Jul-09 2:45
Adam Roderick J9-Jul-09 2:45 
GeneralRe: How to read 'MODIFY' File/Folder permission Pin
David Crow9-Jul-09 2:54
David Crow9-Jul-09 2:54 
AnswerRe: How to read 'MODIFY' File/Folder permission Pin
David Crow9-Jul-09 2:51
David Crow9-Jul-09 2:51 
Question[Message Deleted] Pin
alpha.gis20088-Jul-09 23:59
alpha.gis20088-Jul-09 23:59 
AnswerRe: looking for VC++ GPS application Pin
Chandrasekharan P9-Jul-09 0:06
Chandrasekharan P9-Jul-09 0:06 
Questionremoving menu in MFC document\view architecture Pin
AmitCohen2228-Jul-09 22:45
AmitCohen2228-Jul-09 22:45 
AnswerRe: removing menu in MFC document\view architecture Pin
Adam Roderick J8-Jul-09 22:55
Adam Roderick J8-Jul-09 22:55 
Questionunicode character problem Pin
Rakesh58-Jul-09 22:12
Rakesh58-Jul-09 22:12 
AnswerRe: unicode character problem Pin
chenjiajie20088-Jul-09 22:30
chenjiajie20088-Jul-09 22:30 
QuestionRe: unicode character problem Pin
Rajesh R Subramanian8-Jul-09 22:30
professionalRajesh R Subramanian8-Jul-09 22:30 
AnswerRe: unicode character problem Pin
Rakesh58-Jul-09 23:12
Rakesh58-Jul-09 23:12 

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.