Hi,
I'm writing a program in C++ and for some reason I'm getting a segmentation error at the following line:
char* param= new char[200];
I've tried different variations and even tried putting before it
int* param= new int;//for no reason
and the same error occurs. What might I have done to cause this problem?
What could possibly cause a simple memory allocation like this to give problems.
I would include the rest of the program, but it's over 1000 lines. But feel free to ask for more info.