ZFFramework
Loading...
Searching...
No Matches
Hello world

to start a quick hello world:

// include ZFCore.h for core function of ZFFramework
// you may need to setup your project's include path first
#include "ZFCore.h"
// declare app's main entry
// well, hello world to ZFFramework
zfLog() << "hello world";
}
header file for ZFCore module
#define zfLog(...)
thread-safe log utility
Definition ZFLog.h:64
#define ZFMAIN_ENTRY()
app's main entry wrapper
Definition ZFMainEntry.h:38

ZFFramework would be started from ZFMAIN_ENTRY, you may write any C++ compatible code here
in this example, we just output "hello world" to zfLog, which would output to a proper console by default