自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 学习C/C++同步进行 编译报错解决记录

编译故障1: 解决方法: 项目—属性—常规 — 字符集 更改(使用多节字符集)

2021-07-29 15:28:02 124

原创 visual studio 编辑代码快捷键

序号 名称 快捷键 1 列出成员 Ctrl + J 2 3 4 5 6 7 8

2021-07-28 17:23:59 96

原创 C/C++英语总结累计 关键字(keywords)

序号 英语 解释 1 main 2 3 4 5 6 7 8 9

2021-07-28 16:29:12 180

原创 学习C++应用1

/*application 1*/ #include <graphics.h>//图形库 #include <iostream> #include <String> #include<mmsystem.h> //播放音乐头文件 #include "lesson 1.h" #pragma comment (lib,"winmm.lib")//无需加;播放音乐需导入库文件 using namespace std; int main() { // 初始化...

2021-08-02 11:40:34 129

原创 学习C/C++同步进行 第7课 EasyX_2018

/*lesson 7*/ //程序名称:简单的窗口界面 //编译环境:Mictosoft Visual Studio 2012, EasyX_2018(beta) //最后修改:2020-4-1 //学习练手 #include <graphics.h> #include <Windows.h> int main() { //初始化绘图环境 initgraph(640,480);//3个参数(环境宽度、高度、环境的样式) //背景色设置...

2021-07-29 15:33:33 149

原创 学习C/C++同步进行 第5课 Char\Short\Int\Long\Float\Double\LongDouble---hex\oct\dec

/*lesson 5*/ #include <iostream> #include <string> using namespace std; int main() { string type = "类型占用的字节数 = "; //字符串"类型"声明 cout << "char" << type << sizeof(char) << ...

2021-07-28 23:00:16 117

原创 学习C/C++同步进行 第4课 & | ~ ^

/*lesson 4*/ #include <iostream> //头文件☆文件后无需添加.h #include<iomanip> using namespace std; int main() { int X = 3, Y = 5; //按位与运算 cout << "按位与运算"; cout << X << "&...

2021-07-28 22:44:57 73

原创 学习C/C++同步进行 第3课 iomanip setw

#include <iostream> #include<iomanip> using namespace std; int main() { //6550-655 数学表达式 int X = 6550, Y = 655; cout << X << "-" << Y << "=" << X-Y << endl << endl; cout << setw...

2021-07-28 19:49:01 78

原创 学习C/C++同步进行 第2课 using namespace

#include <iostream> //头文件☆文件后无需添加.h #include <string> //C++ 字符串头文件 using namespace std; ...

2021-07-28 16:02:37 140

原创 学习C/C++同步进行 第1课 Printf Cout String

/*头文件*/ #include <stdio.h> #include<iostream> //C++语言 输入cin 输出cout #include<windows.h> //包含以下system("pause"); using namespace std;//C++ 头文件iostream的内容 //没有这句语言 cin cout endl必须前需 std::cin s...

2021-07-28 13:46:09 53

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除