Skip to content

Instantly share code, notes, and snippets.

View fabiogaluppo's full-sized avatar

Fabio Galuppo fabiogaluppo

View GitHub Profile
@fabiogaluppo
fabiogaluppo / registry.hpp
Created January 17, 2024 20:28
Registry data structure (inspired by Sean Parent's Better Code: Relationships)
//Source code do curso Algoritmos com C++ por Fabio Galuppo
//Ministrado em 2022 na Agit - https://www.agit.com.br/cursoalgoritmos.php
//Fabio Galuppo - http://member.acm.org/~fabiogaluppo - fabiogaluppo@acm.org
//Atualizado em 2024-01-17
//This file is licensed to you under the MIT license
//Ref.: https://sean-parent.stlab.cc/presentations/2021-03-13-relationships/2021-03-13-relationships.pdf
#ifndef REGISTRY_HPP
#define REGISTRY_HPP
#Fabio Galuppo - http://member.acm.org/~fabiogaluppo - fabiogaluppo@acm.org
#1st version - Mar 2021
#2nd version - Feb 2024
import pygame
import os
import math
from datetime import datetime
def wallclock():