📄 test_class.cpp
字号:
#include "stdafx.h"
#include <stdio.h>
#include "test_class.h"
CTest1::CTest1()
{
id1 = 80;
id2 = new char[80];
strcpy(id2, "hello world");
}
CTest1::~CTest1()
{
if (id2 != NULL)
delete id2;
}
void CTest1::func1()
{
printf("test class %d %s\n",
this->id1,
this->id2);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -