kathyayini
Programmer
Hi,
I am having a variable of type string (string m_str). The problem is it is able to add to m_str till the length of m_str reaches 300 / 400 and beyond that the program hangs. I wants to store more than 1000 / 2000 characters. I tried resize (m_str.resize()) but this works at some places and does not work at some places. When ever i say m_str="AA" then the length of string will become 2. What could be the problem. Is there is any solution for this problem. Why it is not able to add beyond 300 / 400 characters.
Thank you in advance.
Waiting for the reply.
With Regards,
Kathyayini.
*PP
I am having a variable of type string (string m_str). The problem is it is able to add to m_str till the length of m_str reaches 300 / 400 and beyond that the program hangs. I wants to store more than 1000 / 2000 characters. I tried resize (m_str.resize()) but this works at some places and does not work at some places. When ever i say m_str="AA" then the length of string will become 2. What could be the problem. Is there is any solution for this problem. Why it is not able to add beyond 300 / 400 characters.
Thank you in advance.
Waiting for the reply.
With Regards,
Kathyayini.
*PP