Ragazzi devo scrivere una funzione che ordini alfabeticamente un'array di stringhe, potreste aiutarmi??
Questo è il codice che ho scritto, dove sbaglio? 
codice:
const int lung_max_parola = 20;
const int num_parole = 5;
void bubblesort( char vett_parole[][lung_max_parola] )
{
for ( int j = 0; j < num_parole -1; j++ )
for ( int i = j; i < num_parole; i++ )
if ( strcmp(vett_parole[j], vett_parole[i]) == 1 )
{
char aux[lung_max_parola];
strcpy( aux, vett_parole[i] );
strcpy( vett_parole[i], vett_parole[j] );
strcpy( vett_parole[j] , aux );
}
}