So I have a file I wanna put its content in an array and that needs malloc or new. I do that on a large project, it was working fine but i guess some changes were made to this project and now that malloc causes a crash and "char* array = new char[20000]" causes the same crash. On my test project and it works fine. Can someone tell me how to fix this.
I am still new to c++.
Thanks in advance.