.. | ||
application.fam | ||
basic_scenes_split_i.h | ||
basic_scenes_split.c | ||
basic_scenes_split.h | ||
basic_scenes.png | ||
greeting_input.c | ||
greeting_input.h | ||
greeting_message.c | ||
greeting_message.h | ||
lottery.c | ||
lottery.h | ||
main_menu.c | ||
main_menu.h | ||
README.md |
Scenes Demo Application Tutorial
This is an exampe similar to Basic_Scenes but with the files broken out into separate .c and .h files.
- The
static
keyword is used on functions that do not need to be visible beyond their own .c file. #pragma once
is used to prevent the header file from being imported multiple times.- We don't use the typical
typedef struct App App
pattern inbasic_scenes_split.h
because the various scenes access properties of theApp
object.