This repository has been stripped now. Some part of it (how-to-git.txt, setting up Salvo RTOS) are left for future students.
Track an RF-screeching parrot (strangely in ASCII 'e') with a robot.
If you're new to git, please have a look at awesome tutorials here:
https://try.github.io/levels/1/challenges/1
https://github.com/jlord/git-it-electron
For functions, let's use the C naming standard, and for variables, let's use Java standard. I noticed that using Java standard for everything is a bit useless in C.
| Constructs | Convention |
|---|---|
| Functions | This_Is_Function() |
| Variables | thisIsVariable |
| #define (preprocessor) constants | THIS_IS_CONSTANT |
| Structs and Enums | ThisIsStruct |
// Defining structs and enums
typedef struct _SOMESTRUCT{
int foo;
int bar;
} SomeStruct;
typedef enum _SOMEENUM{
FOO = 0,
BAR,
} SomeEnum
// Using them
SomeStruct structInstance = {1, 1};
SomeEnum enumInstance = FOO; If you're adding new .X project, please make sure to add /build, /dist and /nbproject/private entries to .gitignore file.