nlneilson Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
Contributor
Hi Honza
Most of my experience with C++ was several years ago, the char=0; was not what was expected, just something to get used to.
If a line in a file is:
ab
Ln = in.GetLine;
Ln[0] = 'a';
Ln[1] = 'b';
Ln[2] = 0;// Java or Python this is '\n'. Note there is no single quotes but if(Ln[2]=='\0'){// is true.
This is in TheIde to make the array before it is sent through the socket.
It is seldom this would be noticed except in a some situations.