Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
WayeKids
w4b
Commits
69fedb6a
Commit
69fedb6a
authored
Mar 27, 2017
by
Nydal EL-KABIR
Browse files
maj tab
parent
93fa3efb
Changes
1
Hide whitespace changes
Inline
Side-by-side
ProjetW4b/ProjetW4b/progTab.cs
View file @
69fedb6a
...
...
@@ -19,17 +19,17 @@ namespace ProjetW4b
{
//writeTab(tabInt);
Console
.
WriteLine
(
"Success ajout"
);
Console
.
ReadKey
(
true
);
//
Console.ReadKey(true);
}
else
if
(
uint
.
Parse
(
args
[
0
])
==
2
)
{
getIntFromTab
(
tabInt
,
uint
.
Parse
(
args
[
2
]));
Console
.
ReadKey
(
true
);
//
Console.ReadKey(true);
}
else
if
(
uint
.
Parse
(
args
[
0
])
==
3
)
{
deleteFromTab
(
tabInt
,
uint
.
Parse
(
args
[
2
]));
Console
.
ReadKey
(
true
);
//
Console.ReadKey(true);
}
}
catch
(
Exception
e
)
...
...
@@ -38,7 +38,7 @@ namespace ProjetW4b
Console
.
WriteLine
(
"usage: progTab op1 op2 op3"
);
Console
.
WriteLine
(
"op1: 1 ajout, 2 recherche, 3 suppression, op2: taille, op3: nbRechercher ou a supprimer"
);
Console
.
ReadKey
(
true
);
}
}
}
static
void
addToTab
(
Random
r
,
List
<
uint
>
tab
,
uint
lenght
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment