I have a question about dynamically allocating enough memory space to read data/text from a file no matter if the user wants to read one line or the entire file. For example let say I have a text file ...
A topic that I find particularly interesting, which is raised by many embedded software developers whom I meet, is dynamic memory allocation – grabbing chunks of memory as and when you need them. This ...