How to Fix: Invalid Conversion From 'void*' to 'char*' When Using malloc
I’m currently learning C and C++. At the beginning, I wasn’t sure if C++ was merely an extension to C or if they were, despite their shared history, two different languages. A recent issue with the malloc function gave me a deeper insight into this question.
As I was working on a C++ project, I wanted to …