Skip to content

Latest commit

 

History

History

0x0E-structures_typedef

Structures, typedef

Project done during Full Stack Software Engineering studies at Alx Africa. It aims to learn about structures and typedef in C language.

Technologies

  • C files are compiled using gcc
  • C files are written according to the C90 standard
  • Tested on Ubuntu 20.04 LTS

Files

All of the following files are programs written in C:

Filename Description
dog.h Header file that contains a struct dog
1-init_dog.c Initialize a variable of type struct dog
2-print_dog.c Prints a struct dog
3-islower.c Checks for lowercase character
4-new_dog.c Creates a new dog
5-free_dog.c Frees a dog
  • Define a new type struct dog
  • Write a function that initialize a variable of type struct dog
  • Write a function that prints a struct dog
  • Define a new type dog_t as a new name for the type struct dog.
  • Write a function that creates a new dog.
  • Write a function that frees dogs.

Author

Acknowledgements 🙏

All work contained in this project was completed as part of the curriculum for ALX Africa SE. ALX Africa is an online full-stack software engineering program that prepares students for careers in the tech industry using project-based peer learning. For more information, visit this link.

ALX Africa Logo