Commit 69fedb6a authored by Nydal EL-KABIR's avatar Nydal EL-KABIR
Browse files

maj tab

parent 93fa3efb
...@@ -19,17 +19,17 @@ namespace ProjetW4b ...@@ -19,17 +19,17 @@ namespace ProjetW4b
{ {
//writeTab(tabInt); //writeTab(tabInt);
Console.WriteLine("Success ajout"); Console.WriteLine("Success ajout");
Console.ReadKey(true); //Console.ReadKey(true);
} }
else if (uint.Parse(args[0]) == 2) else if (uint.Parse(args[0]) == 2)
{ {
getIntFromTab(tabInt, uint.Parse(args[2])); getIntFromTab(tabInt, uint.Parse(args[2]));
Console.ReadKey(true); //Console.ReadKey(true);
} }
else if (uint.Parse(args[0]) == 3) else if (uint.Parse(args[0]) == 3)
{ {
deleteFromTab(tabInt, uint.Parse(args[2])); deleteFromTab(tabInt, uint.Parse(args[2]));
Console.ReadKey(true); //Console.ReadKey(true);
} }
} }
catch(Exception e) catch(Exception e)
...@@ -38,7 +38,7 @@ namespace ProjetW4b ...@@ -38,7 +38,7 @@ namespace ProjetW4b
Console.WriteLine("usage: progTab op1 op2 op3"); Console.WriteLine("usage: progTab op1 op2 op3");
Console.WriteLine("op1: 1 ajout, 2 recherche, 3 suppression, op2: taille, op3: nbRechercher ou a supprimer"); Console.WriteLine("op1: 1 ajout, 2 recherche, 3 suppression, op2: taille, op3: nbRechercher ou a supprimer");
Console.ReadKey(true); Console.ReadKey(true);
} }
} }
static void addToTab(Random r, List<uint> tab, uint lenght) static void addToTab(Random r, List<uint> tab, uint lenght)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment