• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [moderator] Re: Problem using map template in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [moderator] Re: Problem using map template in Cocoa


  • Subject: Re: [moderator] Re: Problem using map template in Cocoa
  • From: "parag vibhute" <email@hidden>
  • Date: Fri, 13 Jul 2007 15:29:03 +0530

Sorry if I was posting to wrong list.
& thanks Scott for telling me that. Now I am going to post it in Objective-C
list.
If anybody get answer for my query, please reply at my mail-id.

Thanks again,
Palav

On 7/13/07, Scott Anguish <email@hidden> wrote:

a reminder...

this list is for questions that pertain to the Cocoa frameworks. This
isn't a Cocoa question.

Please don't post general C questions here. There is an objective-C
list and an Xcode list that may be more applicable to questions in
this vein.


On Jul 11, 2007, at 4:10 AM, parag vibhute wrote:

> Hi guys,
>
> I am developing an application in objective-C++.
> I am trying to use "map" template in one of C structure & trying to
> insert
> some data in it as follows:
>
> #include <iostream>
> #include <string>
> #include "map.h"
> using namespace std;
> typedef map<int, std::string> Mymap;
>
>
> typedef struct mystruct
> {
>      int loc;
>      Mymap structmap;
> }    *mystructptr;
>
>
>
> I have written following code in one of my C function:
> const int temp = 1;
> mystructptr->structmap.insert(Mymap::value_type(temp, "testing"));
>
>
> When I run above code, program goes in debug mode & remain hung in
> last
> statement showing "std::rb_tree_decreament" in thread window of
> debugger.
> I am unable to find out the what is reason behind this?
>
> Please guide me.
>
> Thanks,
> Palav
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden




--
There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'
.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem using map template in Cocoa (From: "parag vibhute" <email@hidden>)
 >[moderator] Re: Problem using map template in Cocoa (From: Scott Anguish <email@hidden>)

  • Prev by Date: What are the official limits of Cocoa when it comes to the length of path names?
  • Next by Date: Re: What are the official limits of Cocoa when it comes to the length of path names?
  • Previous by thread: [moderator] Re: Problem using map template in Cocoa
  • Next by thread: Wait for applescript to complete
  • Index(es):
    • Date
    • Thread