Z
zombek
Hi.
I'd like to know which is faster and when to use:
this (int type is just an example I mean it generally):
int* ptr = new int (123);
int* arr = new int [];
and this:
int num = 123;
int arr [];
Well I know that the first are pointers and the second are references.
Szymon
I'd like to know which is faster and when to use:
this (int type is just an example I mean it generally):
int* ptr = new int (123);
int* arr = new int [];
and this:
int num = 123;
int arr [];
Well I know that the first are pointers and the second are references.
Szymon