From 54bda32f967f2f379e457be2b51fdcc82476e59b Mon Sep 17 00:00:00 2001 From: axell-brendow Date: Sun, 7 Mar 2021 14:42:34 -0300 Subject: [PATCH] Cria struct Musica --- tps/fonte/musica.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tps/fonte/musica.cpp diff --git a/tps/fonte/musica.cpp b/tps/fonte/musica.cpp new file mode 100644 index 0000000..5799e61 --- /dev/null +++ b/tps/fonte/musica.cpp @@ -0,0 +1,21 @@ +typedef struct { + char id[30]; + char name[200]; + char key[15]; + char artists[40][100]; + int num_artists; + char release_date[12]; + double acousticness; + double danceability; + double energy; + int duration_ms; + double instrumentalness; + double valence; + int popularity; + float tempo; + double liveness; + double loudness; + double speechiness; + int year; +} Musica; +