Skip to content

Olympic Games data analysis program, built in C for ATAD (LEI)

Notifications You must be signed in to change notification settings

rodrigosantos003/olympic-games-analysis

Repository files navigation

ATAD 23/24 - Project

Respository

Authors:

  • João Fernandes - 202100718
  • Rodrigo Santos - 202100722
  • Rúben Dâmaso - 202100723

Teacher: Patrícia Macedo [Class 1ºL_EI-08]

Compiling and executing

$> make
$> ./prog

Using valgrind

Valgrind is very useful to detect "memory leaks" if your program uses dynamic memory allocation. You must compile the program with debug symbols and then run the executable through valgrind:

$> make debug
$> valgrind --leak-check=full ./prog 

Alternatively, you can use the bash script already included:

$> make debug
$> bash mem_check.sh

When the program exits it will present you with memory leak information.

Debugging

In the Run tab (left side) you should see a green play icon ▶️ at the top beside "gdb - Debug project". Click on it and the debug will start. Do not forget to set your breakpoints.

Generating documentation

You'll need doxygen installed and follow the doxygen documentation format. A Doxyfile is already provided that is suited for the C language. Use:

$> doxygen Doxyfile

and you'll end up with a html folder containing the generated documentation.

About

Olympic Games data analysis program, built in C for ATAD (LEI)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages