Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#Actualhikrea

Posted 27 March 2013 - 09:04 AM

void PDraw(CDeck d) makes a copy of the deck because you are passing by value rather than by reference.

 

void PDraw(CDeck &d) passing by reference


#1hikrea

Posted 27 March 2013 - 09:02 AM

void PDraw(CDeck d) makes a copy of the deck because you are passing by value rather than by reference.

 

void PDraw(CDeck &d) passing by address


PARTNERS