Saturday, May 22, 2010

Programmer please help me!!?

I've written a program in C++ .in a line of my program I have a code such it: Str=new char [len+1]; but when I run the program in this line of program I have a run time error when len is zero .what's the matter in you oponion?

Programmer please help me!!?
Please check that the pointer str is properly declared and make sure the line terminator and the brackets are propertly placed and too provide a default value to len variable and then try


No comments:

Post a Comment