DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: please explain pointer operation...

  1. #1
    Join Date
    May 2005
    Posts
    58

    Question please explain pointer operation...

    The string is "sample&cxt="+cxt;

    now i am trying to get pointer to value of ctx....
    par is pointer pointing to this string.

    ctxok = wstrtok(par,L"&");

    context = wstrchr(ctxok,L'=');

    now here will (context+1) point to the value of ctx ??

    ctxcpy = (wchar_t*)getmem((wstrlen(context)) * sizeof(wchar_t));

    wstrcpy(ctxcpy,context+1);

    here will ctxcpy contain value of cxt?

    Thank you.
    Last edited by swapnil_paranja; 08-03-2005 at 03:34 AM.

Similar Threads

  1. pointer operation
    By swapnil_paranja in forum C++
    Replies: 2
    Last Post: 07-20-2005, 12:56 PM
  2. cast pointer to member to pointer
    By drkybelk in forum C++
    Replies: 3
    Last Post: 05-19-2005, 05:19 AM
  3. Help with a Declare (pointer to a pointer)
    By Sean Woods in forum VB Classic
    Replies: 4
    Last Post: 12-06-2001, 05:48 PM
  4. Help with a Declare (pointer to a pointer)
    By Sean Woods in forum VB Classic
    Replies: 0
    Last Post: 12-06-2001, 04:22 PM
  5. Replies: 0
    Last Post: 05-09-2001, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center