Symbol 'console' could not be resolved.
Symbol 'true' could not be resolved.
Method 'Clear' could not be resolved.
Method 'Position' could not be resolved.
Program 'make' is not found in PATH.
I'm using the latest Eclipse for Mac OS X.
Here's the program's code:
#include <conio.h>
#include "Console.h"
int main( void )
{
console.Clear();
int nPlayerX=40, nPlayerY=12;
while( true )
{
//Output phase
console.Position( nPlayerX, nPlayerY );
console << '@';
//Input phase
char nKey = getch();
//Processing phase
switch( nKey )
{
//Move down
case 's':
nPlayerY++;
break;
//Move left
case 'a':
nPlayerX--;
break;
//Move right
case 'd':
nPlayerX++;
break;
//Move up
case "w":
nPlayerY--;
break;
//Quit
case 'q':
return 0;
break;
}
}
return 0;
}