ALX System Engineering Plus
Studies carried out in the ALX Software Engineering Plus course
- Bash: 5.1-6ubuntu1
- Docker: 24.0.5
- GCC: 9.4.0
- Ubuntu: 20.04 LTS
- Expected is an understanding of the following concepts:
- Expected is a consumption of these resources:
-
Allowed editors:
-
All source code:
- To be compiled on
Ubuntu 20.04 LTS, withgccas the compiler of choice, using the options-Wall -Werror -Wextra -pedantic -std=gnu89
- To have prototypes to be placed in a header
- Name the header,
main.h - Ensure that header is included guarded
- Name the header,
- To have no more than 5 functions per file
- To end with a new line
- To have no errors and no warnings during compilation
- To use the Betty style.
- To have it's best practices checked using betty-style.pl and betty-doc.pl
- Global variables are disallowed
- To be compiled on
-
ALX will using its own
main.cfiles at compilation, which may be different from the ones shown in the examples -
A README.md file at the root of the repo, containing a description of the repository
-
Memory management:
-
Output
-
Variadic Argument handling
-
Code will be compiled this way:
$ gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -
As a consequence
- Be careful not to push any
cfile containing amainfunction in the root directory of your project (you could have a test folder containing all your tests files including main functions) - Our main files will include your main header file (
main.h):#include main.h - You might want to look at the gcc flag
-Wno-formatwhen testing with your_printfand the standardprintf - We strongly encourage you to work all together on a set of tests
- If the task does not specify what to do with an edge case, do the same as printf
- Be careful not to push any