Greetings,
when programming I usually use C as opposed to C++, & when using dynamic memory use malloc & such functions seem a bit much code when I could be using C++'s new & delete, I know how to use these C++ alternatives in very simple examples, but if I wanted to replace malloc in the following code with new (& maybe put a delete at the end), what would I do? I cannot seem to get it to work myself.
Many thanks in advance.