I want to increase the number of characters the user enters as the text (refer line 1410 of cpp file). I want it to be infinite, if possible. Tks.

>I want it to be infinite, if possible
Do you have infinite storage capacity?

i mean maximum number of characters possible.

>I want it to be infinite, if possible.
Then you need to write something that can build a buffer of variable length from chunks returned by _cgets (_cgets_s in this case because you want length checking):

std::string console_read()
{
  std::string result;
  char buffer[82];
  std::size_t nread;

  while ( _cgets_s ( buffer, &nread ) == 0 )
    result += buffer;

  return result;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.