Talk:String Byte Length: Difference between revisions

also deleted the erroneous c++ wchar string length example
(deleted bad C wchar_t example)
 
(also deleted the erroneous c++ wchar string length example)
Line 1:
The C exampleand C++ examples of finding the length of a string of wide characters (wchar_t) waswere just plain wrong, so I deleted itthem. Regardless of string length, the exampleexamples would always show 16 because it was computing against the length of a ''pointer'' to a wchar_t, rather than the length of the string. —[[User:139.85.252.186|139.85.252.186]] 1617:5700, 23 April 2007 (EDT)
Anonymous user