Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualVortez

Posted 18 September 2013 - 03:08 AM

Turn out i decided to use my other linked list class for now, which is not templatized. I have to rewrite some parts there and there each time i use it but in return i know it work

perfectly and let me do more advanced stuffs if needed. (Still, im gonna keep that page bookmarked to fix it later, thx to HodMan for the inputs)

 

L. Spiro ---> So, if i understand correctly, a reference is like a read-only pointer, that cannot be modified or point to NULL, am i right?


#8Vortez

Posted 18 September 2013 - 03:00 AM

Turn out i decided to use my other linked list class for now, which is not templatized. I have to rewrite some parts there and there each time i use it but in return i know it work

perfectly and let me do dynamic allocation/deallocation when pushing/deleting nodes if needed. (Still, im gonna keep that page bookmarked to fix it later, thx to HodMan for the inputs)

 

L. Spiro ---> So, if i understand correctly, a reference is like a read-only pointer, that cannot be modified or point to NULL, am i right?


#7Vortez

Posted 18 September 2013 - 03:00 AM

Turn out i decided to use my other linked list class for now, which is not templatized. I have to rewrite some parts there and there each time i use it but in return i know it work

perfectly and let me do dynamic allocation/deallocation when pushing/deleting nodes if needed. (Still, im gonna keep that page bookmarked to fix it later, thx to HodMan for the inputs)

 

Im gonna look at the pointers references later, i know exactly how pointers work so it should't be too hard. (I get lost sometime with technical terms)

 

EDIT: So, if i understand correctly, a reference is like a read-only pointer, that cannot be modified or point to NULL, am i right?


#6Vortez

Posted 18 September 2013 - 02:59 AM

Turn out i decided to use my other linked list class for now, which is not templatized. I have to rewrite some parts there and there each time i use it but in return i know it work

perfectly and let me do dynamic allocation/deallocation when pushing/deleting nodes if needed. (Still, im gonna keep that page bookmarked to fix it later, thx to HodMan for the inputs)

 

Still, im gonna look at the pointers references later, i know exactly how pointers work so it should't be too hard. (I get lost sometime with technical terms)

 

EDIT: So, if i understand correctly, a reference is like a read-only pointer, that cannot be modified or point to NULL, am i right?


#5Vortez

Posted 18 September 2013 - 02:57 AM

Turn out i decided to use my other linked list class for now, which is not templatized. I have to rewrite some parts there and there each time i use it but in return i know it work

perfectly and let me do dynamic allocation/deallocation when pushing/deleting nodes if needed.

 

Still, im gonna look at the pointers references later, i know exactly how pointers work so it should't be too hard. (I get lost sometime with technical terms)

 

EDIT: So, if i understand correctly, a reference is like a read-only pointer, that cannot be modified or point to NULL, am i right?


#4Vortez

Posted 18 September 2013 - 02:55 AM

Turn out i decided to use my other linked list class for now, which is not templatized. I have to rewrite some parts there and there each time i use it but in return i know it work

perfectly and let me do dynamic allocation/deallocation when pushing/deleting nodes if needed.

 

Still, im gonna look at the pointers references later, i know exactly how pointers work internally so it should't be too hard. (I get lost sometime with technical terms)

 

EDIT: So, if i understand correctly, a reference is like a read-only pointer, that cannot be modified or point to NULL, am i right?


PARTNERS