📄 fake.cpp
字号:
/******************************************************** * Some code. Copyright (C) 2003 by Pascal Massimino. * * All Rights Reserved. (http://skal.planet-d.net) * * For Educational/Academic use ONLY. See 'LICENSE.TXT'.* ********************************************************//* * fake.cpp * * Test object for dynamic loading of objects. * tested in test_dyn.cpp * This can serve as a template for building a * dynamicaly-loaded class. ********************************************************/#include "skl.h"#include "skl_syst/skl_dyn_load.h"#include "./fake.h"//////////////////////////////////////////////////////////int FAKE::Print() const { static int Cnt = 7349; printf("hello world!\n"); return Cnt++;}FAKE::~FAKE() {}//////////////////////////////////////////////////////////// -- external symbol exportedSKL_DFLT_DYN_FACTORY(FAKE); //////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -