Some c question

0 votes
asked Mar 4, 2016 by sebastien-arola (490 points)
edited Mar 4, 2016 by sebastien-arola

Did somebody know how to empty a char* in c ? In the wino chat for the TP3 when I send a long message all the caracter stay in the char*.
Here an example :
Heberger image

1 Answer

0 votes
answered May 17, 2016 by ngonzalez (220 points)

The end of a string inside a char* buffer is 0 or the char '\0'

Welcome to OpenWiNo Q&A, where you can ask questions and receive answers from other members of the community.
To change your password you must follow THIS link.

24 questions

32 answers


37 users