Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ferhat tamer
2048
Commits
785df2a9
Commit
785df2a9
authored
May 29, 2022
by
ferhat tamer
💬
Browse files
Update 2048.cpp
conio.h kütüphanesini ekleyerek girdiyi cin yerine getch ile aldım
parent
9ffcfd7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
2048.cpp
View file @
785df2a9
...
...
@@ -2,6 +2,7 @@
#include <ctime>
#include <cstdlib>
#include <iomanip>
#include <conio.h>
using
namespace
std
;
int
tablo
[
4
][
4
];
...
...
@@ -93,7 +94,7 @@ int main()
while
(
true
)
{
printMenu
();
char
islem
;
cin
>>
islem
;
islem
=
getch
()
;
if
(
islem
==
'n'
)
YeniOyun
();
else
if
(
islem
==
'q'
)
...
...
Write
Preview
Markdown
is supported
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