cpp50.sdl
Schema for the cpp50Example_main.cpp example. Compile this schema using rdm-compile as follows:
rdm-compile --c-structs --lc-struct-members --catalog --cpp cpp50.sdl
and include the generated header file(s) as follows:
#include "cpp50_structs.h" #include "cpp50_cat.h"
and compile the following generated source file(s):
cpp50_cat.cpp
Here follows the actual schema:
create table sample
(
c1 int16 not null,
c2 binary (44) not null,
c3 int32 not null
)