摘要:
1. sizeof 作用:利用sizeof可以统计数据类型所占内存大小。 语法:sizeof(数据类型/变量)。 示例: #include <iostream> using namespace std; int main() { int a = 10; short b = 10; long c = 阅读全文
摘要:
1.变量的定义与输出 #include <iostream> using namespace std; int main() { int a = 10; cout << "a = "<< a << endl; system("pause"); return 0; } 2.常量的定义与输出 常量定义两 阅读全文
摘要:
1. Prettier的配置 安装:拓展市场搜Prettier 在设置中配置默认的格式插件 勾选退出时保存格式化文件 prettier的配置 新建一个 .prettierrc文件,在此文件中按照图片格式进行修改。相关设置选项可以查看官方网站 2. live server 在拓展市场中安装live s 阅读全文