d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > C++ Pointers
Add Reply New Topic New Poll
Member
Posts: 32,830
Joined: Mar 25 2009
Gold: 1,202.00
Jul 7 2024 01:51pm
data = new int(*other.data);


i'm having trouble figuring out when i should use pointers like this, the first part being without de-reference operator

vs using de-reference operator (i'm aware you use this to access the value or modify it)
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll