Click here to Skip to main content
16,005,491 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange timer problem Pin
Roger Stoltz8-Jun-04 3:48
Roger Stoltz8-Jun-04 3:48 
GeneralRe: Strange timer problem Pin
Antony M Kancidrowski8-Jun-04 4:07
Antony M Kancidrowski8-Jun-04 4:07 
QuestionHow can i creat DSN for database by writing code in my Program Pin
Zeeshan Bilal8-Jun-04 2:36
Zeeshan Bilal8-Jun-04 2:36 
AnswerRe: How can i creat DSN for database by writing code in my Program Pin
David Crow8-Jun-04 2:47
David Crow8-Jun-04 2:47 
GeneralSending commands over USB Pin
Daudi8-Jun-04 2:22
Daudi8-Jun-04 2:22 
Generalthe windows ui question Pin
boyboy8-Jun-04 1:55
boyboy8-Jun-04 1:55 
GeneralRe: the windows ui question Pin
ohadp8-Jun-04 5:06
ohadp8-Jun-04 5:06 
GeneralPassing the address of an object in to a Function Pin
bhangie8-Jun-04 1:51
bhangie8-Jun-04 1:51 
Hi there
Sorry for the Slopy Subject line!.
What i whant to know is the following.

I have declared a vector of person Objects
vector(person) people; //in main

I have a confrence class
class conf<br />
{<br />
  public:<br />
  conf(const string &nm, int d);<br />
  void set_venue(venue *);<br />
  void cancel_venue();<br />
  private:<br />
  string conference_name;<br />
  int duration;<br />
  venue * pvenue; //pointer to venue class<br />
}


I Have added a data member to the conf class which is
a vector of pointers to person
vector(person *) registered;

and the following member function to register a person
who choose to attend a conference.
void register_person(????);

So this is what i must do, ok so person objects where added to people //vector(person)people;

The person running the program gets to decide who will
attend a certian confr thus needing to register this person for the confr.
By index how would i pass the address of the specified person object to my register_person(????); function and get register_person(????); to append this person object
to my registration vector(Containing only registered persons).

I am knot sure about this->
register_person(person & registered)? needs to recieve the
address of a specified(index) person object.

Help meUnsure | :~


Education begins a gentleman,
conversation completes him Wink | ;)
GeneralRe: Passing the address of an object in to a Function Pin
Jnewg58-Jun-04 5:38
Jnewg58-Jun-04 5:38 
QuestionHow to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 1:27
anderslundsgard8-Jun-04 1:27 
AnswerRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
David Crow8-Jun-04 2:28
David Crow8-Jun-04 2:28 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 2:36
anderslundsgard8-Jun-04 2:36 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
David Crow8-Jun-04 2:45
David Crow8-Jun-04 2:45 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 2:52
anderslundsgard8-Jun-04 2:52 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
David Crow8-Jun-04 3:28
David Crow8-Jun-04 3:28 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 20:34
anderslundsgard8-Jun-04 20:34 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
David Crow9-Jun-04 2:27
David Crow9-Jun-04 2:27 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
Antony M Kancidrowski8-Jun-04 2:50
Antony M Kancidrowski8-Jun-04 2:50 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 2:55
anderslundsgard8-Jun-04 2:55 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
Antony M Kancidrowski8-Jun-04 3:26
Antony M Kancidrowski8-Jun-04 3:26 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 20:13
anderslundsgard8-Jun-04 20:13 
AnswerRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
Rodrigo Pinto Pereira de Souza8-Jun-04 2:32
Rodrigo Pinto Pereira de Souza8-Jun-04 2:32 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
anderslundsgard8-Jun-04 2:47
anderslundsgard8-Jun-04 2:47 
GeneralRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
Rodrigo Pinto Pereira de Souza8-Jun-04 2:51
Rodrigo Pinto Pereira de Souza8-Jun-04 2:51 
AnswerRe: How to &#8220;overregistrate&#8221; an already registerd dll? Pin
Antony M Kancidrowski8-Jun-04 2:39
Antony M Kancidrowski8-Jun-04 2:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.