cpp01Example.sdl

Schema for the cpp01Example_main.cpp example. Compile this schema using rdm-compile as follows:

rdm-compile --cpp-api --lc-cpp-methods --lc-struct-members cpp01Example.sdl

and include the generated header file(s) as follows:

#include "cpp01Example_structs.h"
#include "cpp01Example_cat.h"
#include "cpp01Example_gen_api.h"

and compile the following generated source file(s):

cpp01Example_cat.cpp
cpp01Example_gen.cpp

Here follows the actual schema:

create table info
(
myChar char(50) not null
);