The reference book I use says that char size is 8 bits wide, regardless of 16 or 32 bit platforms. Is this guaranteed by the standard, regardless of compiler?
When I get a char from a std::string using c_str() function, is the size of each char 8 bits? What about a wstring? -- what type and size does it hold?
0 · ·