8)
for(int i = 0, i < nbcolonnes; ++i)
{
char *longueur = PQfname(resultat, i);
if(strlen(longueur) > max)
{
max = std::strlen(longueur);
}
}
for(int i = 0, i < nbcolonnes; ++i)
{
char *longueur = PQfname(resultat, i);
if(strlen(longueur) > max)
{
max = std::strlen(longueur);
}
}