Docu Codegen
Hey FloH,
maybe I just missed the information in the help, but it would be good to insert an example for the correct main-function there.
I mean something like:
int main(int argc, char **argv) {
initialize_system();
for (STEP_COUNTER = 0; STEP_COUNTER < MAX_STEP; STEP_COUNTER) {
run_system();
printf(“\n”);
}
}
I forgot to include initialize_system and it took me some time to find out.
(from redmine: issue id 1766, created on 2013-10-01, closed on 2018-01-19)