Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > handles in C++
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 45866 of 47924
Post > Topic >>

handles in C++

by Carter <cartercheng@[EMAIL PROTECTED] > May 11, 2008 at 11:25 AM

Hi,

I am currently working on a project in C++ but I am somewhat unsure
about how to implement the equivalent of C/Java style handles. I am
curious about the correct idiomatic way to do this. My problem is as
follows I have a set of elements which I want to update to a new value
all at the same time. I figure I would use a handle for this.

In C this might be a T** handle. and possibly an array/linked list
holding the pointers T* array[N]. What is the best way to do something
like this in C++?

Regards,

Carter.
 




 3 Posts in Topic:
handles in C++
Carter <cartercheng@[E  2008-05-11 11:25:06 
Re: handles in C++
Gianni Mariani <gi4nos  2008-05-11 21:56:10 
Re: handles in C++
Carter <cartercheng@[E  2008-05-12 18:54:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 16:51:26 CDT 2008.