Quantcast
Channel: C++ allocating memory using array - Stack Overflow
Viewing all articles
Browse latest Browse all 4

C++ allocating memory using array

$
0
0

concerning this question on how to allocate memory without using new or malloc, suppose I have a structure linked list

struct stack { string info; stack next*;};

The answer provided says use global byte array. How would I implement an linked list by allocating to global byte array?


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>