When I start a new project in the Microsoft Visual C++ compiler,
win32 console, it can't compile things like:

void locate(int col, int row)//Locate cursor at location on screen,
{ // Is this type of code only for DOS and not for
// Win32 Console projects?????????
union REGS regs;

regs.h.ah=0x02;
regs.h.bh=0x00;
regs.h.dh=row;
regs.h.dl=col;
int86(VIDEO,&regs,&regs);
}

Why? I dont understand, it seems like the more stuff I learn that
I can do with C++, is the more things I find that the Microsoft Visual C++ compiler can't do. I feel like im wasteing my time programming because im not getting anywhere, if i start a project, i will always end up with a brick wall in my face saying I can't do something because the Microsoft Visual C++ compiler
doesn't support it, etc.

Microsoft Visual C++
-----------------------------------------------------------------------------------
- where is the clearscreen function?
- where is the function that can move the cursor around?
- Why is it when you write C++ code and call a getch(),
it skips all the code and starts from there first?
- Is this the only way to color text in a win32 console project?
SetConsoleTextAttribute (GetStdHandle (STD_OUTPUT_HANDLE), FOREGROUND_GREEN | FOREGROUND_INTENSITY);
if it is, then damn, it sucks.
-----------------------------------------------------------------------------------

Can anyone help?
Is there any documentation on win32 console mode projects?
Where can I get a documentation on pdcurses?
How can I compile things like whats above in MSVC++?

My goal isn't to rip on the MSVC++ compiler, I just want to know
how to use the screen when programming in win32 console, for instance, make a good user interface. How are interfaces like the "edit" program in DOS created(an interface with windows, etc)? I don't want to switch compilers either, i want to get good with one.

I might get in trouble for asking more then one question in a post, but this is getting extremelt frustrating. If anyone can help,
plz do.

knave