ExtendedWin32Console.h Replacement?

I'm making a roguelike game, and I'm looking at this tutorial. I get everything in it, but the code calls for the header file "ExtendedWin32Console.h". I downloaded it, but when I use it I get a ton of errors. I tried to use "system" instead of "console" but there is an error, because I need to use "console.SetPosition( nPlayerx, nPlayery );". Any ideas on how to fix this problem?

And when I say errors for "ExtendedWin32Console.h" I'm saying none of the commands work for it. It gives me the same, if not more, errors.

Thanks
Last edited on
I just downloaded the ExtendedWin32Console.h and I can see some possibilities for problems.

1. You may have a lot of warnings about deprecated funtions and conversions between short and integer
However, none of those will stop compilation.

2. You may either get fatal ERRORS because you have normal char strings in your code but the project is set for UNICODE build (or vice versa) --- or possibly it will compile ok but display garbage on the screen.
Alright. I sort of fixed the problem at hand, but now it is giving me one last error:

"[Warning] passing NULL used for non-pointer converting 2 of `BOOL SetConsoleMode(void*, DWORD)' "

Source is: SetConsoleMode( this->hConsoleInput, NULL );

Any advice?

Thanks

(PS I know it is a warning, but If I could just get the annoying message away that'd be great)
Last edited on
DWORD is a number, so pass 0 if you want to.
Topic archived. No new replies allowed.