last data update: 2011/10/17, 10:18
Website loading time
during the test: 2.06 s
cable connection (average): 2.22 s
DSL connection (average): 2.38 s
modem (average): 10.83 s
HTTP headers
HTTP/1.1 200 OK
Date: Mon, 17 Oct 2011 17:18:02 GMT
Content-Type: text/html
Connection: close
Server: Nginx / Varnish
Last-Modified: Thu, 14 Dec 2006 00:53:53 GMT
ETag: "169bb0e-f-42485f3019399"
Accept-Ranges: bytes
Content-Length: 15
Vary: Accept-Encoding
Information about DNS servers
c-exercises.com | MX | 10 | mailstore1.secureserver.net | IN | 3600 |
c-exercises.com | MX | 0 | smtp.secureserver.net | IN | 3600 |
c-exercises.com | A | 182.50.148.128 | IN | 3600 | |
c-exercises.com | SOA | ns75.domaincontrol.com | dns.jomax.net | 2011070105 | 28800 7200 604800 86400 IN 43200 |
c-exercises.com | NS | ns76.domaincontrol.com | IN | 3600 | |
c-exercises.com | NS | ns75.domaincontrol.com | IN | 3600 |
Received from the first DNS server
Request to the server "c-exercises.com"
You used the following DNS server:
DNS Name: ns76.domaincontrol.com
DNS Server Address: 208.109.255.48#53
DNS server aliases:
HEADER opcode: REQUEST, status: NOERROR, id: 56252
flag: qr aa rd REQUEST: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
REQUEST SECTION:
c-exercises.com. IN ANY
ANSWER SECTION:
c-exercises.com. 86400 IN SOA ns75.domaincontrol.com. dns.jomax.net. 2011070105 28800 7200 604800 86400
c-exercises.com. 3600 IN A 182.50.148.128
c-exercises.com. 3600 IN NS ns75.domaincontrol.com.
c-exercises.com. 3600 IN NS ns76.domaincontrol.com.
c-exercises.com. 3600 IN MX 0 smtp.secureserver.net.
c-exercises.com. 3600 IN MX 10 mailstore1.secureserver.net.
Received 233 bytes from address 208.109.255.48#53 in 15 ms
Received from the second DNS server
Request to the server "c-exercises.com"
You used the following DNS server:
DNS Name: ns75.domaincontrol.com
DNS Server Address: 216.69.185.48#53
DNS server aliases:
HEADER opcode: REQUEST, status: NOERROR, id: 42499
flag: qr aa rd REQUEST: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
REQUEST SECTION:
c-exercises.com. IN ANY
ANSWER SECTION:
c-exercises.com. 86400 IN SOA ns75.domaincontrol.com. dns.jomax.net. 2011070105 28800 7200 604800 86400
c-exercises.com. 3600 IN A 182.50.148.128
c-exercises.com. 3600 IN NS ns75.domaincontrol.com.
c-exercises.com. 3600 IN NS ns76.domaincontrol.com.
c-exercises.com. 3600 IN MX 0 smtp.secureserver.net.
c-exercises.com. 3600 IN MX 10 mailstore1.secureserver.net.
Received 233 bytes from address 216.69.185.48#53 in 14 ms
Subdomains (the first 50)
Typos (misspells)
x-exercises.com v-exercises.com f-exercises.com d-exercises.com c0exercises.com cpexercises.com c-wxercises.com c-sxercises.com c-dxercises.com c-rxercises.com c-4xercises.com c-3xercises.com c-ezercises.com c-ecercises.com c-edercises.com c-esercises.com c-exwrcises.com c-exsrcises.com c-exdrcises.com c-exrrcises.com c-ex4rcises.com c-ex3rcises.com c-exeecises.com c-exedcises.com c-exefcises.com c-exetcises.com c-exe5cises.com c-exe4cises.com c-exerxises.com c-exervises.com | c-exerfises.com c-exerdises.com c-exercuses.com c-exercjses.com c-exerckses.com c-exercoses.com c-exerc9ses.com c-exerc8ses.com c-exerciaes.com c-exercizes.com c-exercixes.com c-exercides.com c-exerciees.com c-exerciwes.com c-exercisws.com c-exercisss.com c-exercisds.com c-exercisrs.com c-exercis4s.com c-exercis3s.com c-exercisea.com c-exercisez.com c-exercisex.com c-exercised.com c-exercisee.com c-exercisew.com -exercises.com cexercises.com c-xercises.com c-eercises.com | c-exrcises.com c-execises.com c-exerises.com c-exercses.com c-exercies.com c-exerciss.com c-exercise.com -cexercises.com ce-xercises.com c-xeercises.com c-eexrcises.com c-exrecises.com c-execrises.com c-exericses.com c-exercsies.com c-exerciess.com c-exercisse.com cc-exercises.com c--exercises.com c-eexercises.com c-exxercises.com c-exeercises.com c-exerrcises.com c-exerccises.com c-exerciises.com c-exercisses.com c-exercisees.com c-exercisess.com |
Location
IP: 182.50.148.128
continent: AS, country: Singapore (SGP), city:
Website value
rank in the traffic statistics:
There is not enough data to estimate website value.
Basic information
website build using CSS
code weight: 61.38 KB
text per all code ratio: 58 %
title: C tutorial | C exercises, free C source code, how to develop games in C, C++
description:
keywords:
encoding: UTF-8
language: en-US
Website code analysis
one word phrases repeated minimum three times
Phrase | Quantity |
---|---|
case | 225 |
break; | 133 |
"); | 122 |
int | 94 |
// | 75 |
if | 66 |
void | 54 |
x, | 47 |
y+1, | 35 |
%c | 31 |
#define | 30 |
y, | 30 |
y+3, | 28 |
10+me_x, | 26 |
for | 25 |
i, | 25 |
move(board[me_y][me_x], | 24 |
y+5, | 24 |
2011 | 22 |
by | 21 |
char | 21 |
0; | 21 |
getch(); | 20 |
b_y, | 20 |
Posted | 20 |
y+7, | 20 |
y); | 19 |
ch); | 19 |
5+me_y, | 18 |
!= | 18 |
Game | 17 |
to | 17 |
in | 15 |
on | 15 |
1; | 15 |
printf(" | 15 |
b_x, | 14 |
while | 13 |
swap(board, | 12 |
i++) | 12 |
is_moved | 12 |
B); | 12 |
printchxy(x+58, | 12 |
j+=4) | 12 |
gotoxy(x, | 11 |
printf("%c", | 11 |
&& | 10 |
Leave | 10 |
comment | 10 |
www.c-exercises.com | 10 |
cexercises | 10 |
== | 10 |
i+=2) | 9 |
of | 9 |
main() | 9 |
(i=0; | 9 |
k++; | 9 |
clrscr(); | 9 |
else | 9 |
printchxy(x, | 9 |
|| | 9 |
j<65; | 9 |
ch) | 9 |
186); | 9 |
#include | 9 |
#include | 9 |
Copyright | 9 |
Program: | 9 |
M); | 8 |
Games | 8 |
June | 8 |
is | 8 |
%c",179,179,179,179,179); | 8 |
continue; | 8 |
j++) | 8 |
2+me_y, | 8 |
and | 8 |
printf("%c | 8 |
ch | 7 |
_setcursortype(_NOCURSOR); | 7 |
7 | |
switch | 7 |
Number | 7 |
Puzzle | 7 |
the | 7 |
do | 7 |
); | 7 |
j; | 7 |
return | 7 |
Ctrl | 6 |
Alt | 6 |
printf("%c%c%c%c%c%c%c%c%c%c%c%c%c",195,196,196,197,196,196,197,196,196,197,196,196,180); | 6 |
printchxy(x | 6 |
length | 6 |
printchxy( | 6 |
27 | 6 |
Shift | 6 |
print_i_shape(int | 6 |
gotoxy(x,y+3); | 6 |
keyboard | 6 |
dir | 6 |
y+10, | 6 |
#include | 6 |
printchxy(int | 6 |
i6 | |
y) | 6 |
program | 6 |
printstrxy(int | 6 |
printf("%s", | 6 |
ESC | 5 |
gotoxy(x,y+4); | 5 |
ESC); | 5 |
O); | 5 |
' | 5 |
key | 5 |
This | 5 |
textcolor(WHITE); | 5 |
words[line][offset]); | 5 |
1: | 5 |
LEFT | 5 |
(j=0; | 5 |
ch; | 5 |
no | 5 |
UP | 5 |
j, | 5 |
DOWN | 5 |
b_x); | 5 |
gotoxy(x,y+2); | 4 |
t; | 4 |
&cell, | 4 |
Push | 4 |
Box | 4 |
i; | 4 |
move(char | 4 |
gotoxy(x,y); | 4 |
X); | 4 |
highlight(x+12, | 4 |
highlight(x+1, | 4 |
she | 4 |
highlight(int | 4 |
typing | 4 |
cprintf("%s", | 4 |
Maze | 4 |
Hangman | 4 |
return_type | 4 |
value | 4 |
argument | 4 |
list | 4 |
it | 4 |
#include | 4 |
layout | 4 |
y-1, | 4 |
clreol(); | 4 |
}; | 4 |
gotoxy(x,y+7); | 4 |
",179); | 4 |
1:top, | 4 |
3: | 4 |
3:left, | 4 |
4:right | 4 |
swap(int | 4 |
b[][4], | 4 |
draw_board(int | 4 |
r2, | 4 |
c1, | 4 |
r1, | 4 |
2: | 4 |
2:bottom, | 4 |
3; | 4 |
printf("%2d", | 4 |
board[i][j]); | 4 |
Shuffle | 4 |
July | 4 |
#include | 3 |
str[]); | 3 |
b_x<3 | 3 |
80 | 3 |
72 | 3 |
me_y++; | 3 |
77 | 3 |
75 | 3 |
tutorial | 3 |
me_y--; | 3 |
RIGHT | 3 |
me_x++; | 3 |
me_x--; | 3 |
203); | 3 |
i<4; | 3 |
functions | 3 |
like | 3 |
",186); | 3 |
j<4; | 3 |
gotoxy(x,y+11); | 3 |
Function | 3 |
i3 | |
board[i][j] | 3 |
any | 3 |
k, | 3 |
Array | 3 |
y+2, | 3 |
10, | 3 |
str); | 3 |
str[]) | 3 |
202); | 3 |
textcolor(YELLOW); | 3 |
delay(200); | 3 |
ch, | 3 |
textbackground(BLACK); | 3 |
(board[i][j] | 3 |
version | 3 |
print_i_shape(x+ | 3 |
print_i_shape(j,y+6); | 3 |
5,y+8); | 3 |
print_i_shape(x+11,y+8); | 3 |
print_i_shape(x+47,y+8); | 3 |
j<63; | 3 |
for(j=x+9; | 3 |
for(j=x+6; | 3 |
print_i_shape(j,y+2); | 3 |
for(j=x+7; | 3 |
print_i_shape(j,y+4); | 3 |
print_i_shape(x+53,y+8); | 3 |
for(i=y+2; | 3 |
201); | 3 |
200); | 3 |
187); | 3 |
188); | 3 |
free | 3 |
source | 3 |
how | 3 |
204); | 3 |
185); | 3 |
for(i=y+1; | 3 |
print_i_shape(j,y); | 3 |
games | 3 |
3 | |
printstrxy(x,y+1," | 3 |
printstrxy(x,y+3," | 3 |
Tab | 3 |
printstrxy(x,y+5," | 3 |
Layout"); | 3 |
"Keyboard | 3 |
b_x | 3 |
next | 3 |
my | 3 |
printstrxy(x+20, | 3 |
Caps | 3 |
Enter | 3 |
printchxy(j, | 3 |
205); | 3 |
for(j=x+4; | 3 |
C, | 3 |
j3 | |
(j=x+1; | 3 |
printstrxy(x,y+7," | 3 |
printstrxy(x,y+9," | 3 |
for(i=y; | 3 |
i<=y+10; | 3 |
artist | 3 |
me_x | 3 |
b_y+1, | 3 |
b_x--; | 3 |
gotoxy(x,y+1); | 3 |
b_y++; | 3 |
b_x>0 | 3 |
b_y>0 | 3 |
b_y--; | 3 |
RIGHT: | 3 |
(ch | 3 |
gotoxy(x,y | 3 |
gotoxy(x,y+6); | 3 |
b_y-1, | 3 |
word | 3 |
b_x++; | 3 |
randomize(); | 3 |
b_y<3 | 3 |
gotoxy(x,y+5); | 3 |
4: | 3 |
two word phrases repeated minimum three times
Phrase | Quantity |
---|---|
break; case | 122 |
"); break; | 105 |
x, int | 40 |
int y, | 28 |
y+1, "); | 26 |
move(board[me_y][me_x], 10+me_x, | 24 |
y+3, "); | 24 |
y+5, "); | 20 |
y+7, "); | 20 |
2011 by | 19 |
%c %c | 17 |
10+me_x, 5+me_y, | 16 |
y, int | 14 |
y, char | 14 |
// printchxy(x+58, | 12 |
ch); void | 12 |
swap(board, b_y, | 12 |
b_y, b_x, | 12 |
gotoxy(x, y); | 11 |
Posted on | 10 |
by cexercises | 10 |
Posted in | 10 |
Leave comment | 10 |
for (i=0; | 9 |
Copyright 2011 | 9 |
#include | 9 |
// Program: | 9 |
by www.c-exercises.com | 9 |
j<65; j+=4) | 9 |
// Copyright | 9 |
186); // | 9 |
1; break; | 8 |
5+me_y, B); | 8 |
void main() | 8 |
is_moved 1; | 8 |
5+me_y, M); | 8 |
10+me_x, 2+me_y, | 8 |
%c %c",179,179,179,179,179); | 8 |
b_x, b_y, | 8 |
printf("%c %c | 8 |
in Games | 7 |
Number Puzzle | 7 |
www.c-exercises.com // | 7 |
Games Leave | 7 |
Puzzle Game | 7 |
getch(); void | 7 |
on June | 7 |
"); | 7 |
printf(" %c | 6 |
int y) | 6 |
printf("%c", ch); | 6 |
void printstrxy(int | 6 |
printchxy(x+58, i, | 6 |
x, i, | 6 |
i6 | |
i+=2) printchxy( | 6 |
printchxy( x, | 6 |
void print_i_shape(int | 6 |
printstrxy(int x, | 6 |
continue; if | 6 |
int y); | 6 |
void printchxy(int | 6 |
// printchxy(x, | 6 |
printchxy(int x, | 6 |
// printchxy(x | 6 |
print_i_shape(int x, | 6 |
i, 186); | 6 |
!= ESC); | 5 |
y); printf("%c", | 5 |
for (j=0; | 5 |
i++) for | 5 |
ESC); getch(); | 5 |
i, j, | 5 |
main() int | 5 |
int ch); | 5 |
ch getch(); | 5 |
int i, | 5 |
int ch) | 5 |
y); void | 5 |
ESC 27 | 5 |
#define ESC | 5 |
Game Posted | 5 |
else if | 5 |
int x, | 4 |
ch); Posted | 4 |
%c ",179); | 4 |
&cell, int | 4 |
case 1: | 4 |
gotoxy(x,y+3); printf(" | 4 |
move(char &cell, | 4 |
X); move(board[me_y][me_x], | 4 |
1; for | 4 |
3:left, 4:right | 4 |
main() char | 4 |
void move(char | 4 |
M); else | 4 |
is_moved 0; | 4 |
Push Box | 4 |
highlight(int x, | 4 |
2+me_y, B); | 4 |
k++; break; | 4 |
2+me_y, O); | 4 |
2:bottom, 3:left, | 4 |
!= move(board[me_y][me_x], | 4 |
return value | 4 |
M); break; | 4 |
O); break; | 4 |
break; if | 4 |
void highlight(int | 4 |
value and | 4 |
Hangman Game | 4 |
gotoxy(x,y); cprintf("%s", | 4 |
case 3: | 4 |
case 2: | 4 |
cprintf("%s", ch); | 4 |
argument list | 4 |
1:top, 2:bottom, | 4 |
int r1, | 4 |
r1, int | 4 |
!= if | 4 |
#include | 4 |
b[][4], int | 4 |
swap(int b[][4], | 4 |
draw_board(int x, | 4 |
void swap(int | 4 |
cexercises This | 4 |
void draw_board(int | 4 |
int c1, | 4 |
This program | 4 |
// dir | 4 |
Shuffle Number | 4 |
r2, int | 4 |
dir 1:top, | 4 |
c1, int | 4 |
int r2, | 4 |
me_x--; move(board[me_y][me_x], | 3 |
"); printstrxy(x,y+7," | 3 |
(ch != | 3 |
202); // | 3 |
for(j=x+4; j<65; | 3 |
y+2, 202); | 3 |
while (ch | 3 |
DOWN 80 | 3 |
#define UP | 3 |
UP 72 | 3 |
77 #define | 3 |
RIGHT 77 | 3 |
i, 204); | 3 |
72 #define | 3 |
(i=0; i3 | |
#define DOWN | 3 |
printchxy(x, y+2, | 3 |
y+1, 186); | 3 |
i3 | |
getch(); if | 3 |
for(i=y+2; i3 | |
for(j=x+9; j<63; | 3 |
j<63; j+=4) | 3 |
j+=4) print_i_shape(j,y+6); | 3 |
print_i_shape(x+ 5,y+8); | 3 |
print_i_shape(j,y+4); for(j=x+9; | 3 |
j+=4) print_i_shape(j,y+4); | 3 |
for(j=x+7; j<65; | 3 |
case RIGHT: | 3 |
RIGHT: if | 3 |
5,y+8); print_i_shape(x+11,y+8); | 3 |
print_i_shape(x+11,y+8); print_i_shape(x+47,y+8); | 3 |
for(j=x+6; j<65; | 3 |
print_i_shape(j,y); for(j=x+6; | 3 |
j+=4) print_i_shape(j,y); | 3 |
print_i_shape(x+53,y+8); for(i=y+2; | 3 |
",186); break; | 3 |
B); me_x--; | 3 |
j+=4) print_i_shape(j,y+2); | 3 |
print_i_shape(x+47,y+8); print_i_shape(x+53,y+8); | 3 |
print_i_shape(j,y+2); for(j=x+7; | 3 |
printchxy(x, y+1, | 3 |
187); // | 3 |
printchxy(x+58, 187); | 3 |
printchxy(x+58, y+10, | 3 |
y+10, 188); | 3 |
188); // | 3 |
200); // | 3 |
y+10, 200); | 3 |
_setcursortype(_NOCURSOR); clrscr(); | 3 |
printchxy(x 201); | 3 |
201); // | 3 |
printchxy(x y+10, | 3 |
Game #include | 3 |
Shift Shift | 3 |
"); printstrxy(x,y+9," | 3 |
Shift "); | 3 |
printstrxy(x,y+9," Ctrl | 3 |
Ctrl Alt | 3 |
Alt Alt | 3 |
Alt Ctrl | 3 |
Ctrl "); | 3 |
next version | 3 |
i<=y+10; i+=2) | 3 |
for(i=y; i<=y+10; | 3 |
"); for(i=y; | 3 |
#include | 3 |
(board[i][j] == | 3 |
i+=2) for | 3 |
for(i=y+1; i3 | |
203); // | 3 |
printchxy(x, 203); | 3 |
y) printchxy(x, | 3 |
// for(i=y+1; | 3 |
185); // | 3 |
#define RIGHT | 3 |
75 #define | 3 |
i, 185); | 3 |
clrscr(); printstrxy(x+20, | 3 |
str); void | 3 |
printf("%s", str); | 3 |
gotoxy(x,y ); | 3 |
y) gotoxy(x,y | 3 |
#define LEFT | 3 |
27 #define | 3 |
printstrxy(x,y+7," Shift | 3 |
LEFT 75 | 3 |
Maze Game | 3 |
y); printf("%s", | 3 |
str[]) gotoxy(x, | 3 |
char str[]) | 3 |
ch) gotoxy(x, | 3 |
204); // | 3 |
print_i_shape(j,y+6); print_i_shape(x+ | 3 |
b_x); b_y--; | 3 |
(j=0; j<4; | 3 |
b_y-1, b_x); | 3 |
b_x, b_y-1, | 3 |
b_y>0 swap(board, | 3 |
(j=x+1; j3 | |
' Enter | 3 |
Enter "); | 3 |
i<4; i++) | 3 |
(i=0; i<4; | 3 |
b_x, b_y+1, | 3 |
b_y<3 swap(board, | 3 |
if b_y<3 | 3 |
if b_y>0 | 3 |
j3 | |
// for(j=x+4; | 3 |
printstrxy(x,y+5," Caps | 3 |
Box Game | 3 |
printstrxy(x+20, y-1, | 3 |
printf(" "); | 3 |
keyboard layout | 3 |
j<4; j++) | 3 |
205); // | 3 |
j++) printchxy(j, | 3 |
str[]); void | 3 |
char str[]); | 3 |
printchxy(j, i, | 3 |
i, 205); | 3 |
me_y++; move(board[me_y][me_x], | 3 |
Caps ' | 3 |
i, j; | 3 |
Tab | 3 |
gotoxy(x,y+4); printf(" | 3 |
B); me_y--; | 3 |
me_y--; move(board[me_y][me_x], | 3 |
printstrxy(x,y+3," Tab | 3 |
me_x++; move(board[me_y][me_x], | 3 |
B); me_x++; | 3 |
printstrxy(x,y+1," 3 | |
Layout"); printstrxy(x,y+1," | 3 |
"Keyboard Layout"); | 3 |
3 | |
"); printstrxy(x,y+5," | 3 |
"); printstrxy(x,y+3," | 3 |
int 10, | 3 |
textbackground(BLACK); textcolor(WHITE); | 3 |
on July | 3 |
for (j=x+1; | 3 |
B); me_y++; | 3 |
b_x<3 swap(board, | 3 |
b_x>0 swap(board, | 3 |
case 4: | 3 |
y-1, "Keyboard | 3 |
if b_x>0 | 3 |
if b_x<3 | 3 |
three word phrases repeated minimum three times
Phrase | Quantity |
---|---|
"); break; case | 101 |
x, int y, | 28 |
y+1, "); break; | 26 |
y+3, "); break; | 24 |
y+7, "); break; | 20 |
y+5, "); break; | 20 |
move(board[me_y][me_x], 10+me_x, 5+me_y, | 16 |
int y, int | 14 |
int y, char | 14 |
swap(board, b_y, b_x, | 12 |
2011 by cexercises | 10 |
// Copyright 2011 | 9 |
2011 by www.c-exercises.com | 9 |
Copyright 2011 by | 9 |
printf("%c %c %c | 8 |
is_moved 1; break; | 8 |
10+me_x, 5+me_y, B); | 8 |
%c %c %c | 8 |
move(board[me_y][me_x], 10+me_x, 2+me_y, | 8 |
10+me_x, 5+me_y, M); | 8 |
%c %c %c",179,179,179,179,179); | 8 |
www.c-exercises.com // Program: | 7 |
by www.c-exercises.com // | 7 |
Posted in Games | 7 |
in Games Leave | 7 |
Posted on June | 7 |
Games Leave comment | 7 |
Number Puzzle Game | 7 |
printchxy( x, i, | 6 |
void printchxy(int x, | 6 |
ch); void printstrxy(int | 6 |
// printchxy(x+58, i, | 6 |
i, 186); // | 6 |
1; break; case | 6 |
b_y, b_x, b_y, | 6 |
void print_i_shape(int x, | 6 |
void printstrxy(int x, | 6 |
print_i_shape(int x, int | 6 |
i6 | |
printchxy(int x, int | 6 |
i+=2) printchxy( x, | 6 |
x, int y); | 6 |
printstrxy(int x, int | 6 |
x, int y) | 6 |
void main() int | 5 |
y, int ch); | 5 |
int ch); void | 5 |
i++) for (j=0; | 5 |
y, int ch) | 5 |
y); printf("%c", ch); | 5 |
gotoxy(x, y); printf("%c", | 5 |
Game Posted on | 5 |
!= ESC); getch(); | 5 |
#define ESC 27 | 5 |
int y); void | 5 |
swap(int b[][4], int | 4 |
b[][4], int r1, | 4 |
int r1, int | 4 |
r1, int c1, | 4 |
int r2, int | 4 |
c1, int r2, | 4 |
int c1, int | 4 |
void draw_board(int x, | 4 |
void swap(int b[][4], | 4 |
10+me_x, 2+me_y, O); | 4 |
gotoxy(x,y); cprintf("%s", ch); | 4 |
!= move(board[me_y][me_x], 10+me_x, | 4 |
printf(" %c ",179); | 4 |
break; case 3: | 4 |
break; case 2: | 4 |
"); break; | 4 |
10+me_x, 2+me_y, B); | 4 |
2+me_y, O); break; | 4 |
dir 1:top, 2:bottom, | 4 |
// dir 1:top, | 4 |
1:top, 2:bottom, 3:left, | 4 |
2:bottom, 3:left, 4:right | 4 |
1; for (i=0; | 4 |
return value and | 4 |
draw_board(int x, int | 4 |
by cexercises This | 4 |
M); else if | 4 |
cexercises This program | 4 |
void highlight(int x, | 4 |
5+me_y, M); else | 4 |
ESC); getch(); void | 4 |
int x, int | 4 |
&cell, int x, | 4 |
highlight(int x, int | 4 |
ch); Posted in | 4 |
move(char &cell, int | 4 |
5+me_y, M); break; | 4 |
X); move(board[me_y][me_x], 10+me_x, | 4 |
Shuffle Number Puzzle | 4 |
void move(char &cell, | 4 |
y, char str[]) | 3 |
i, 205); // | 3 |
y); printf("%s", str); | 3 |
char str[]) gotoxy(x, | 3 |
str[]) gotoxy(x, y); | 3 |
printf("%c", ch); void | 3 |
gotoxy(x, y); printf("%s", | 3 |
printchxy(j, i, 205); | 3 |
printf("%s", str); void | 3 |
",186); break; case | 3 |
ch) gotoxy(x, y); | 3 |
str[]); void print_i_shape(int | 3 |
char str[]); void | 3 |
int ch) gotoxy(x, | 3 |
j++) printchxy(j, i, | 3 |
getch(); void printchxy(int | 3 |
int y) gotoxy(x,y | 3 |
y) gotoxy(x,y ); | 3 |
// printchxy(x, y+2, | 3 |
printchxy(x, y+2, 202); | 3 |
186); // printchxy(x, | 3 |
y+1, 186); // | 3 |
main() int 10, | 3 |
b_y, b_x, b_y+1, | 3 |
#include | 3 |
y+2, 202); // | 3 |
if b_y<3 swap(board, | 3 |
int i, j; | 3 |
b_y<3 swap(board, b_y, | 3 |
printchxy(x, y+1, 186); | 3 |
// printchxy(x, y+1, | 3 |
205); // for(j=x+4; | 3 |
int y) printchxy(x, | 3 |
str); void print_i_shape(int | 3 |
if b_x<3 swap(board, | 3 |
b_x<3 swap(board, b_y, | 3 |
break; case 4: | 3 |
y) printchxy(x, 203); | 3 |
if b_x>0 swap(board, | 3 |
b_x>0 swap(board, b_y, | 3 |
203); // printchxy(x, | 3 |
printchxy(x, 203); // | 3 |
void main() char | 3 |
j<65; j+=4) print_i_shape(j,y); | 3 |
200); // printchxy(x+58, | 3 |
204); // printchxy(x+58, | 3 |
y+10, 200); // | 3 |
printchxy(x y+10, 200); | 3 |
// printchxy(x y+10, | 3 |
i, 204); // | 3 |
x, i, 204); | 3 |
// printchxy(x+58, y+10, | 3 |
printchxy(x+58, y+10, 188); | 3 |
187); // printchxy(x+58, | 3 |
printchxy(x+58, 187); // | 3 |
// printchxy(x+58, 187); | 3 |
printchxy(x+58, i, 185); | 3 |
i, 185); // | 3 |
x, i, 186); | 3 |
186); // printchxy(x+58, | 3 |
for(i=y+1; i3 | |
// for(i=y+1; i3 | |
(ch != ESC); | 3 |
printchxy(x+58, i, 186); | 3 |
186); // printchxy(x | 3 |
185); // for(i=y+1; | 3 |
201); // printchxy(x | 3 |
printchxy(x 201); // | 3 |
// printchxy(x 201); | 3 |
for(i=y+2; i3 | |
print_i_shape(x+53,y+8); for(i=y+2; i3 | |
for(j=x+7; j<65; j+=4) | 3 |
print_i_shape(j,y+2); for(j=x+7; j<65; | 3 |
k++; break; case | 3 |
j<65; j+=4) print_i_shape(j,y+4); | 3 |
j+=4) print_i_shape(j,y+4); for(j=x+9; | 3 |
j+=4) print_i_shape(j,y+2); for(j=x+7; | 3 |
j<65; j+=4) print_i_shape(j,y+2); | 3 |
while (ch != | 3 |
for(j=x+4; j<65; j+=4) | 3 |
j+=4) print_i_shape(j,y); for(j=x+6; | 3 |
print_i_shape(j,y); for(j=x+6; j<65; | 3 |
for(j=x+6; j<65; j+=4) | 3 |
print_i_shape(j,y+4); for(j=x+9; j<63; | 3 |
for(j=x+9; j<63; j+=4) | 3 |
case RIGHT: if | 3 |
break; case RIGHT: | 3 |
5,y+8); print_i_shape(x+11,y+8); print_i_shape(x+47,y+8); | 3 |
print_i_shape(x+11,y+8); print_i_shape(x+47,y+8); print_i_shape(x+53,y+8); | 3 |
print_i_shape(x+47,y+8); print_i_shape(x+53,y+8); for(i=y+2; | 3 |
print_i_shape(x+ 5,y+8); print_i_shape(x+11,y+8); | 3 |
print_i_shape(j,y+6); print_i_shape(x+ 5,y+8); | 3 |
j<63; j+=4) print_i_shape(j,y+6); | 3 |
y, char str[]); | 3 |
y+10, 188); // | 3 |
j+=4) print_i_shape(j,y+6); print_i_shape(x+ | 3 |
// for(j=x+4; j<65; | 3 |
if b_y>0 swap(board, | 3 |
Shift "); printstrxy(x,y+9," | 3 |
Shift Shift "); | 3 |
me_y++; move(board[me_y][me_x], 10+me_x, | 3 |
B); me_y++; move(board[me_y][me_x], | 3 |
"); printstrxy(x,y+9," Ctrl | 3 |
#define DOWN 80 | 3 |
72 #define DOWN | 3 |
RIGHT 77 #define | 3 |
#define RIGHT 77 | 3 |
77 #define UP | 3 |
#define UP 72 | 3 |
UP 72 #define | 3 |
Ctrl Alt Alt | 3 |
Alt Alt Ctrl | 3 |
for (j=x+1; j3 | |
i+=2) for (j=x+1; | 3 |
(j=x+1; j3 | |
j3 | |
for (i=0; i<4; | 3 |
i<=y+10; i+=2) for | 3 |
B); me_y--; move(board[me_y][me_x], | 3 |
Ctrl "); for(i=y; | 3 |
Alt Ctrl "); | 3 |
"); for(i=y; i<=y+10; | 3 |
for(i=y; i<=y+10; i+=2) | 3 |
me_y--; move(board[me_y][me_x], 10+me_x, | 3 |
75 #define RIGHT | 3 |
LEFT 75 #define | 3 |
printstrxy(x,y+1," 3 | |
Layout"); printstrxy(x,y+1," 3 | |
3 | |
"); printstrxy(x,y+3," Tab | 3 |
printstrxy(x,y+3," Tab | 3 |
"Keyboard Layout"); printstrxy(x,y+1," | 3 |
y-1, "Keyboard Layout"); | 3 |
Push Box Game | 3 |
M); break; case | 3 |
clrscr(); printstrxy(x+20, y-1, | 3 |
Posted on July | 3 |
printstrxy(x+20, y-1, "Keyboard | 3 |
Tab "); | 3 |
"); printstrxy(x,y+5," | 3 |
printstrxy(x,y+7," Shift Shift | 3 |
"); printstrxy(x,y+7," Shift | 3 |
ESC 27 #define | 3 |
27 #define LEFT | 3 |
#define LEFT 75 | 3 |
Game #include | 3 |
Enter "); printstrxy(x,y+7," | 3 |
"); printstrxy(x,y+5," Caps | 3 |
printstrxy(x,y+5," Caps ' | 3 |
Caps ' Enter | 3 |
' Enter "); | 3 |
(i=0; i<4; i++) | 3 |
printstrxy(x,y+9," Ctrl Alt | 3 |
B); me_x--; move(board[me_y][me_x], | 3 |
O); break; case | 3 |
for (i=0; i3 | |
b_y-1, b_x); b_y--; | 3 |
b_x, b_y-1, b_x); | 3 |
b_y, b_x, b_y-1, | 3 |
printf(" "); break; | 3 |
i<4; i++) for | 3 |
b_y>0 swap(board, b_y, | 3 |
(i=0; i3 | |
me_x--; move(board[me_y][me_x], 10+me_x, | 3 |
for (j=0; j<4; | 3 |
B); me_x++; move(board[me_y][me_x], | 3 |
(j=0; j<4; j++) | 3 |
me_x++; move(board[me_y][me_x], 10+me_x, | 3 |
B tags
U tags
I tags
images
file name | alternative text |
---|---|
sunset.jpg |
headers
H1
H2
Number Puzzle Game
Shuffle Number Puzzle Game
Hangman Game
Maze Game
Push Box Game
Typing Program
Highlight Keyboard
Keyboard layout
News headline
Function
H3
Number Puzzle Game
Shuffle Number Puzzle Game
Hangman Game
Maze Game
Push Box Game
Typing Program
Highlight Keyboard
Keyboard layout
News headline
Function
H4
H5
H6
internal links
address | anchor text |
---|---|
http://c-exercises.com/ | C tutorial |
#content | Skip to content |
http://c-exercises.com/ | Home |
http://c-exercises.com/about-us/ | About |
http://c-exercises.com/download/ | Download |
http://c-exercises.com/page/2/ | ← Older posts |
http://c-exercises.com/number-puzzle-game/ | Number Puzzle Game |
http://c-exercises.com/number-puzzle-game/ | July 16, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/shuffle-number-puzzle-game/ | Shuffle Number Puzzle Game |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/number-puzzle-game/#respond | Leave a comment |
http://c-exercises.com/shuffle-number-puzzle-game/ | Shuffle Number Puzzle Game |
http://c-exercises.com/shuffle-number-puzzle-game/ | July 13, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/shuffle-number-puzzle-game/#respond | Leave a comment |
http://c-exercises.com/hangman-game/ | Hangman Game |
http://c-exercises.com/hangman-game/ | July 2, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/hangman-game/#respond | Leave a comment |
http://c-exercises.com/maze-game/ | Maze Game |
http://c-exercises.com/maze-game/ | June 24, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/maze-game/#respond | Leave a comment |
http://c-exercises.com/push-box-game/ | Push Box Game |
http://c-exercises.com/push-box-game/ | June 18, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/push-box-game/#respond | Leave a comment |
http://c-exercises.com/typing-program/ | Typing Program |
http://c-exercises.com/typing-program/ | June 17, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/array/ | Array |
http://c-exercises.com/typing-program/#respond | Leave a comment |
http://c-exercises.com/higlight-keyboard/ | Highlight Keyboard |
http://c-exercises.com/higlight-keyboard/ | June 16, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/higlight-keyboard/#respond | Leave a comment |
http://c-exercises.com/keyboard-layout/ | Keyboard layout |
http://c-exercises.com/keyboard-layout/ | June 15, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/keyboard-layout/#respond | Leave a comment |
http://c-exercises.com/news-headline/ | News headline |
http://c-exercises.com/news-headline/ | June 14, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/array/ | Array |
http://c-exercises.com/news-headline/#respond | Leave a comment |
http://c-exercises.com/function/ | Function |
http://c-exercises.com/function/ | June 12, 2011 |
http://c-exercises.com/author/cexercises/ | cexercises |
http://c-exercises.com/category/uncategorized/ | Uncategorized |
http://c-exercises.com/function/#respond | Leave a comment |
http://c-exercises.com/page/2/ | ← Older posts |
http://c-exercises.com/number-puzzle-game/ | Number Puzzle Game |
http://c-exercises.com/shuffle-number-puzzle-game/ | Shuffle Number Puzzle Game |
http://c-exercises.com/hangman-game/ | Hangman Game |
http://c-exercises.com/maze-game/ | Maze Game |
http://c-exercises.com/push-box-game/ | Push Box Game |
http://c-exercises.com/2011/07/ | July 2011 |
http://c-exercises.com/2011/06/ | June 2011 |
http://c-exercises.com/2011/05/ | May 2011 |
http://c-exercises.com/category/array/ | Array |
http://c-exercises.com/category/comment/ | Comment |
http://c-exercises.com/category/conditional/ | Conditional |
http://c-exercises.com/category/loopiteration/do-while/ | do while |
http://c-exercises.com/category/errors/ | Errors |
http://c-exercises.com/category/exercises/ | Exercises |
http://c-exercises.com/category/loopiteration/for/ | for |
http://c-exercises.com/category/games/ | Games |
http://c-exercises.com/category/getting-started/ | Getting Started |
http://c-exercises.com/category/conditional/if/ | if |
http://c-exercises.com/category/math/ | Math |
http://c-exercises.com/category/output-stars/ | Output Stars |
http://c-exercises.com/category/conditional/switch/ | switch |
http://c-exercises.com/category/uncategorized/ | Uncategorized |
http://c-exercises.com/category/loopiteration/while/ | while |
http://c-exercises.com/wp-login.php?action=register | Register |
http://c-exercises.com/wp-login.php | Log in |
http://c-exercises.com/feed/ | Entries RSS |
http://c-exercises.com/comments/feed/ | Comments RSS |
external links
address | anchor text |
---|---|
http://wordpress.org/ | WordPress.org |
http://wordpress.org/ | Powered by WordPress. |