807down vote string? wstring? std::string is a basic_string templated on a char, and std::wstring on a wchar_t. char vs. wchar_t char is supposed to hold a character, usually a 1-byte character. wchar_t is supposed to hold a wide character, and then,…
经过开篇对Java运行机制及相关环境搭建,本篇主要讨论Java程序开发的基础知识点,我简单的梳理一下.在讲解数据类型之前,我顺便提及一下Java注释:单行注释.多行注释以及文档注释,这里重点强调文档注释.通常单行注释独占一行并用"//"来开头,多行注释会占据多行并用/*...*/来表示. /* HelloWorld是每一个Java学习者的起点, 需要好好掌握 */ public class HelloWorld { public static void main(String[] ar…