Fedora Linux Support Community & Resources Center
  #1  
Old 25th March 2010, 10:23 PM
RohanS Offline
Registered User
 
Join Date: Feb 2010
Posts: 3
linuxfedorafirefox
Pointers

Good day,

This should be simple, but i just can't remember how to do it right now...

If i have a pointer to a class for example

RSVP* L4Proto = new RSVP();

how do i get the actual RSVP class from that so that i may be able to pass it to a function for example.....and not just the pointer to it (L4Proto)?.....

passing the pointer may be more efficient but i am using previously implemented classes which takes the actual object and not a pointer as its argument......
Reply With Quote
Reply

Tags
c++, pointers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Query regarding C pointers shahdharmit Programming & Packaging 4 17th February 2010 05:25 AM
kde mouse pointers whitebeard Using Fedora 3 22nd February 2009 12:17 AM
Mouse pointers whitebeard Using Fedora 3 12th February 2009 09:42 PM
Some migration pointers please :) dgrafix Using Fedora 6 21st May 2008 10:34 AM
Mismatched Pointers??? budds Servers & Networking 5 6th October 2004 08:28 AM


Current GMT-time: 08:16 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat