[ create a new paste ] login | about

Link: http://codepad.org/xNRnm1Cw    [ raw code | output | fork ]

hmurcia - C++, pasted on Apr 13:
1
2
3
4
5
6
7
8
9
10
11
12
13
// mylib.h    (libreria para MYGAME)
#ifndef VC2005
#include <windows.h>
#endif
#define borrapantalla()	system("cls");
#define inkey()		(kbhit() ? getch() : EOF)
#define pausa()		cout << "\n\n... pulse ENTER."; system("pause>nul");
#define ACTOR	(char)2
#define ARRIBA	72
#define ABAJO	80
#define DERECHA	77
#define IZQUIERDA	75
#define pulso_flecha(p) ((p)==ARRIBA || (p)==ABAJO || (p)==DERECHA || (p)==IZQUIERDA)


Output:
1
Line 20: error: windows.h: No such file or directory


Create a new paste based on this one


Comments: