input problem

From: Kay (ericjo92003_at_yahoo.com.hk)
Date: 08/31/04


Date: Wed, 01 Sep 2004 01:21:15 +0800

If my input is an integer, how can I compare w/ the queue
(mode shows as below) in order to display the context containing the
integer that I input ?

        char *name, *cuisine, *mode;

            //change type of name of restaurant from string to char
            name = new char[temp_name.length() + 1 ];
            strcpy( name, temp_name.c_str());

                //change type of name of cuisine from string to char
                cuisine = new char[temp_cuisine.length() + 1 ];
                strcpy( cuisine, temp_cuisine.c_str());

                //change type of operation mode from string to char
                mode = new char[temp_mode.length() + 1 ];
                strcpy( mode, temp_mode.c_str());

                //cout << name << cuisine << mode << endl;

--> mode QueueInsert( ReCuMo, name, cuisine, mode);



Relevant Pages

  • Re: input problem
    ... > If my input is an integer, how can I compare w/ the queue ... > in order to display the context containing the ...
    (comp.lang.cpp)
  • Re: input problem
    ... > If my input is an integer, how can I compare w/ the queue ... > in order to display the context containing the ...
    (comp.lang.c)
  • input problem
    ... If my input is an integer, how can I compare w/ the queue ... in order to display the context containing the ...
    (comp.lang.cpp)
  • Re: Working with Visio 2003 Page & Shape context (popup) menus in
    ... can u provide me full code, still i am not able to display the menu, ... the user right clicks on the shape which he has drawn on the visio sheets. ... "dinesh" wrote: ... I was not able to manipulate the popup context ...
    (microsoft.public.visio.developer.vba)
  • Re: Quene display
    ... > This function is used to display the context of a queue. ... That is unusal for a display function. ... Comparing C-style strings is ... on dynamic data structures. ...
    (comp.lang.cpp)