test_class.cpp

来自「将exe等可执行文件转化成c程序的反编译程序,先到汇编再到c」· C++ 代码 · 共 22 行

CPP
22
字号
#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 + =
减小字号Ctrl + -
显示快捷键?