dynamic allocate memory

dynamic allocate memory,
we cant access it without using pointer?
Your question is unclear.

If you want to allocate memory, you will have to either use the new operator, or smart pointers. Smart pointers are obviously pointers, and new returns a pointer so yes, you're gonna have to use pointers.
Last edited on
why u are the only one who reply me?
TarikNeaj gave you a good answer. Nothing more needs to be said.
Topic archived. No new replies allowed.