Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Define 'Enter' key in C Pin
Mohamed Nehad20-Sep-15 12:04
Mohamed Nehad20-Sep-15 12:04 
QuestionCall to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 3:49
dchabaud17-Sep-15 3:49 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 5:13
mveCPallini17-Sep-15 5:13 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 5:27
dchabaud17-Sep-15 5:27 
QuestionRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 5:32
mveCPallini17-Sep-15 5:32 
AnswerRe: Call to std::thread::join() in the destructor of a global variable Pin
dchabaud17-Sep-15 20:57
dchabaud17-Sep-15 20:57 
GeneralRe: Call to std::thread::join() in the destructor of a global variable Pin
CPallini17-Sep-15 22:05
mveCPallini17-Sep-15 22:05 
Questionaccess violation with std::map (VS2015) Pin
Member 853403517-Sep-15 3:41
Member 853403517-Sep-15 3:41 
I need a sorted list of strings with some additional information for each entry, so I thought about to use std::map


I am doing just simple things:

Definition:

typedef std::map<std::string, WORD> tTABMNEMO;
tTABMNEMO TabMnemo;


and in constructor of using class I am calling firstly:

TabMnemo.clear();


already this first access (in constructor of using class) causes an access violation.
any idea, what could be wrong?
Do I need to initialize anyhow?

maybe it is because of my program structure? this map is defined globally outside of the class and all the member functions of the using class are static functions!
QuestionRe: access violation with std::map (VS2015) Pin
David Crow17-Sep-15 5:06
David Crow17-Sep-15 5:06 
QuestionRe: access violation with std::map (VS2015) Pin
CPallini17-Sep-15 5:09
mveCPallini17-Sep-15 5:09 
QuestionPassing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_16-Sep-15 11:31
Vaclav_16-Sep-15 11:31 
QuestionRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
CPallini16-Sep-15 21:09
mveCPallini16-Sep-15 21:09 
AnswerRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Richard MacCutchan16-Sep-15 21:31
mveRichard MacCutchan16-Sep-15 21:31 
GeneralRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_19-Sep-15 1:29
Vaclav_19-Sep-15 1:29 
AnswerRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Daniel Pfeffer19-Sep-15 21:30
professionalDaniel Pfeffer19-Sep-15 21:30 
QuestionReal time drawing using multithreading Pin
FrankStar8912-Sep-15 23:57
FrankStar8912-Sep-15 23:57 
AnswerRe: Real time drawing using multithreading Pin
jschell13-Sep-15 12:24
jschell13-Sep-15 12:24 
GeneralRe: Real time drawing using multithreading Pin
FrankStar8914-Sep-15 21:48
FrankStar8914-Sep-15 21:48 
GeneralRe: Real time drawing using multithreading Pin
jschell15-Sep-15 11:25
jschell15-Sep-15 11:25 
AnswerRe: Real time drawing using multithreading Pin
David Crow14-Sep-15 4:12
David Crow14-Sep-15 4:12 
GeneralRe: Real time drawing using multithreading Pin
FrankStar8914-Sep-15 21:50
FrankStar8914-Sep-15 21:50 
QuestionNeed help with this little C program Pin
Member 1197963712-Sep-15 12:44
Member 1197963712-Sep-15 12:44 
SuggestionRe: Need help with this little C program Pin
Richard MacCutchan12-Sep-15 21:00
mveRichard MacCutchan12-Sep-15 21:00 
AnswerRe: Need help with this little C program Pin
CPallini13-Sep-15 6:52
mveCPallini13-Sep-15 6:52 
GeneralRe: Need help with this little C program Pin
Member 1197963713-Sep-15 8:05
Member 1197963713-Sep-15 8:05 

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.