¡@

Home 

c++ Programming Glossary: max_len

take string input using char* in C and C++ [duplicate]

http://stackoverflow.com/questions/14022720/take-string-input-using-char-in-c-and-c

up to the new line. For example char s malloc sizeof char MAX_LEN fgets s MAX_LEN stdin will do what you want in C . In C the.. For example char s malloc sizeof char MAX_LEN fgets s MAX_LEN stdin will do what you want in C . In C the code is similar.. you want in C . In C the code is similar char s new char MAX_LEN fgets s MAX_LEN stdin C also supports the std string class which..