C3 Tutorial
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Modules

  • C3 groups functions, types, variables and macros into namespaces called modules.
  • When doing builds, any C3 file must start with the module keyword, specifying the module.
  • When compiling single files, the module is not needed and the module name is assumed to be the file name, converted to lower case, with any invalid characters replaced by underscore (_).