Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCheckDlgButton() not unchecking sometimes Pin
cfo5ter11-Jul-07 15:31
cfo5ter11-Jul-07 15:31 
AnswerRe: CheckDlgButton() not unchecking sometimes Pin
Mark Salsbery11-Jul-07 16:53
Mark Salsbery11-Jul-07 16:53 
AnswerRe: CheckDlgButton() not unchecking sometimes Pin
krmed12-Jul-07 2:21
krmed12-Jul-07 2:21 
QuestionBind Error with IIS Pin
eraccn11-Jul-07 15:03
eraccn11-Jul-07 15:03 
QuestionC2678: Problem & Solution Pin
John R. Shaw11-Jul-07 13:06
John R. Shaw11-Jul-07 13:06 
AnswerRe: C2678: Problem & Solution Pin
Stephen Hewitt11-Jul-07 13:40
Stephen Hewitt11-Jul-07 13:40 
GeneralRe: C2678: Problem & Solution Pin
John R. Shaw11-Jul-07 14:07
John R. Shaw11-Jul-07 14:07 
GeneralRe: C2678: Problem & Solution Pin
Stephen Hewitt11-Jul-07 14:36
Stephen Hewitt11-Jul-07 14:36 
John R. Shaw wrote:
Well their types do not matter that much with regards to the question

  Sure they do. A type determines the operations you can perform on an object and your question is asking why you can't perform a certain operation on an object.

That said, I can't see why your code doesn't compile. In fact, when I tried the following code it compiled just fine:
// Console.cpp : Defines the entry point for the console application.
//
 
#include "stdafx.h"
#include <utility>
#include <map>
#include <string>
 
typedef std::pair< int, int > cartesian_type;
typedef std::map< std::string, cartesian_type > cart_map_type;
cart_map_type coord_cart_conv_;
 
int main(int arvc, char* argv[])
{
	using namespace std;
 
	cartesian_type cart = coord_cart_conv_[string("Hello")];
 
	return 0;
}



Steve

GeneralRe: C2678: Problem &amp;amp; Solution Pin
John R. Shaw11-Jul-07 15:12
John R. Shaw11-Jul-07 15:12 
GeneralRe: C2678: Problem &amp;amp;amp; Solution Pin
Stephen Hewitt11-Jul-07 15:18
Stephen Hewitt11-Jul-07 15:18 
GeneralRe: C2678: Problem &amp;amp;amp; Solution Pin
John R. Shaw11-Jul-07 16:04
John R. Shaw11-Jul-07 16:04 
QuestionGDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
bscaer11-Jul-07 10:25
bscaer11-Jul-07 10:25 
AnswerRe: GDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
Hans Dietrich11-Jul-07 10:55
mentorHans Dietrich11-Jul-07 10:55 
GeneralRe: GDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
bscaer11-Jul-07 10:59
bscaer11-Jul-07 10:59 
AnswerRe: GDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
Mark Salsbery11-Jul-07 10:58
Mark Salsbery11-Jul-07 10:58 
GeneralRe: GDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
bscaer11-Jul-07 11:06
bscaer11-Jul-07 11:06 
GeneralRe: GDI Leak in CTreeCtrl with TVS_CHECKBOXES property Pin
Mark Salsbery11-Jul-07 11:26
Mark Salsbery11-Jul-07 11:26 
QuestionCannot access ClassView information file error msg Pin
cgb14311-Jul-07 10:18
cgb14311-Jul-07 10:18 
AnswerRe: Cannot access ClassView information file error msg Pin
David Crow11-Jul-07 10:23
David Crow11-Jul-07 10:23 
GeneralRe: Cannot access ClassView information file error msg Pin
cgb14311-Jul-07 10:38
cgb14311-Jul-07 10:38 
AnswerRe: Cannot access ClassView information file error msg Pin
krmed11-Jul-07 10:33
krmed11-Jul-07 10:33 
GeneralRe: Cannot access ClassView information file error msg Pin
cgb14311-Jul-07 10:38
cgb14311-Jul-07 10:38 
GeneralRe: Cannot access ClassView information file error msg Pin
David Crow11-Jul-07 10:48
David Crow11-Jul-07 10:48 
GeneralRe: Cannot access ClassView information file error msg Pin
cgb14311-Jul-07 11:02
cgb14311-Jul-07 11:02 
QuestionText Updation Pin
Abhijeet Pathak11-Jul-07 9:56
Abhijeet Pathak11-Jul-07 9:56 

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.