Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Smile
SUBMITTED BY:
Guest
DATE:
Dec. 15, 2014, 4:54 p.m.
FORMAT:
C++
SIZE:
853 Bytes
Raw
Download
Tweet
HITS:
1123
Go to comments
Report
#include
<iostream>
#include
<windows.h>
using
namespace
std
;
char
c1
[
2
][
4
]
=
{
'*'
,
' '
,
' '
,
'*'
,
'\\'
,
'_'
,
'_'
,
'/'
};
char
c2
[
2
][
4
]
=
{
'*'
,
' '
,
' '
,
'-'
,
'\\'
,
'_'
,
'_'
,
'/'
};
char
c3
[
2
][
4
]
=
{
'-'
,
' '
,
' '
,
'*'
,
'\\'
,
'_'
,
'_'
,
'/'
};
int
main
()
{
int
c
=
1
;
while
(
true
)
{
system
(
"cls"
);
for
(
int
i
=
0
;
i
<=
1
;
i
++
)
{
for
(
int
j
=
0
;
j
<=
3
;
j
++
)
{
if
(
c
==
1
)
cout
<<
c1
[
i
][
j
];
if
(
c
==
2
)
cout
<<
c2
[
i
][
j
];
if
(
c
==
3
)
cout
<<
c3
[
i
][
j
];
}
cout
<<
endl
;
}
if
(
c
==
1
)
c
=
2
;
else
if
(
c
==
2
)
c
=
3
;
else
c
=
1
;
Sleep
(
200
);
}
return
0
;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus