I'm searching for a detailed step by step guide to add Ncurses to my project in Visual Studio 2017. I downloaded the source code, but I have no idea how to add it to my project. I know this question will be dumb for you, but I'm a beginner concerning C++ and do not find a tutorial online to add Ncurses to my project. I looked through the online documentation etc. but didn't find any helpful hint. I'm writing a console application.
I downloaded the code from: https://invisible-island.net/ncurses/#download_ncurses
Thank you for your help.
EDIT:
I know there is this solution:
#include <windows.h>
void gotoxy( short x, short y )
{
HANDLE hStdout = GetStdHandle(STD_OUTPUT_HANDLE) ;
COORD position = { x, y } ;
SetConsoleCursorPosition( hStdout, position ) ;
}
but I guess that's Windows specific. So what could I do instead which works for both: Unix/Windows.