04 Example - Glyn06/Tp4-Graficos GitHub Wiki

Here´s an example on how to use this AMAZING library!

#Include "HighScoreLib.h"

int main(){

HighScore* hs = new HighScore(5);

hs->AddScore("Ricardo Montaner", 500);
hs->AddScore("Ariel Cid", 5000);
hs->AddScore("Vegeta", 9001);
hs->AddScore("Jotaro", 320);
hs->AddScore("AAAAAAAAAAAAA", 15418414);

hs->ShowScore();

}