This week moves from scratch to a basic introduction of the C programming language. Concepts covered –
- Source code – a text file with your program written in it
- Compiler – some tool/program to convert source code into machine-readable code
- The basics of how to make [compile] a program and run it
- Fundamental aspects of coding
- Functions – grouping together code that you can call as you need
- Arguments – variables you can send [pass] into a function for the function to use as part of it’s code/algorithm
- Return – the return result the function can return
- Types – different ways of representing data in your program. Examples are:
- Boolean, Character, Integer, Float, …
- Conditionals – how to control program flow based on logical statements [or conditionals] you set. Example:
- If x < y, do whatever.
- Variables – simply are used to store data within your program.
- Loops – various ways to repeat statement(s) within the code based on logical rules that dictate how often to repeat [loop], and under what conditions.
- Functions – grouping together code that you can call as you need