/* AUTORE: Manuel Vichi (WIP) Dato */ #include #include #include #include #define SIZEARRAY 10 using namespace std; typedef struct { int numero; float valore; char simbolo; } Dato; Dato riempiArray(Dato arr[], size_t size) { for (size_t i = 0; i < size; i++) { arr[i].numero = rand() % 100; arr[i].valore = rand() % 1.5f; arr[i].simbolo = 'A' + rand() % 65; } } int main(void) { Dato array[SIZEARRAY]; return 0; }