自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我是喵先生mxj

记录思考,记录收获。

  • 博客(4)
  • 收藏
  • 关注

原创 【C++】Static Member Function

对static member function声明和定义的位置展开讨论。

2022-12-22 15:48:17 118 1

原创 【shell】:编写一个shell脚本连续执行多个测试命令

1 1. 先放上源代码 #!/bin/bash # This script descripts test case on xxx platform file="test_case.txt" $?=0 while read -r testcase do echo "---------- executing test case $testcase ----------" $testcase if [ $? -ne 0 ] then echo "------

2021-07-30 09:49:26 974 1

原创 【C++】: 隐式构造函数和显示构造函数的实验和讨论

1. 先放一段实验代码及编译结果。 #include <iostream> class Stock1 { public: Stock1(std::string str) { name = str; } private: std::string name; }; class Stock2 { public: explicit Stock2(std::string str) { name = str;

2021-07-29 19:16:07 612 1

原创 【编程题1】:任意输入一个整形数字,然后将每一位都转换成对应的字符并且顺序打印出来。

编程题1:任意输入一个整形数字,然后将每一位都转换成对应的字符并且顺序打印出来。 /* Calculate the width of integer value */ int width_of_integer(int s) { int width = 1; while(s /= 10) width++; return width; } int main(void) { int value; printf("Please input an integer: "); scanf("%d"

2021-01-29 12:18:20 689 1

空空如也

空空如也

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

TA关注的人

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