I want to have the program utilize the left, right, up, and down arrows. My compiler doesn't like _getch(). Is there another way?
inkey = _getch(); // Use Something Other Than _getch(),
if(inkey==0x4B){ // Or Tell Me How To Use _getch().
.......
}
if(inkey==0x4D){
.......
}
Please help. It gives me two errors when I compile:
1. Unresolved external symbol "void __cdelc dodrop(int)...
2. Fatal Error. 1 Unresolved Externals
Here is the code:
#include <iostream.h>
#include <windows.h>
#include <conio.h>
#define BLK 0
#define RED 1
#define NON 2
#define DRW 3...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.