Trier un tableau de chaîne de caractères avec l’algorithme ‘sort()’

Author:

 list, list
{filelink=15231}

#include 
#include 
#include 
using namespace std;

int main()
{
   string listeMot[5] = { "abana", "anana", "1dona","yawa", "nicodi"};           

   sort(listeMot, listeMot + 5);
   for(int i=0; i<5;i++)
	   cout<

    

Leave a Reply

Your email address will not be published. Required fields are marked *