I recommend using GCC instead, Borland is a nightmare.
The library that you want is called OpenGL. It's always downloaded precompiled, because compiling it takes several hours. It's a MONSTEROUS library, but it's broken up so if you add it statically (which you should,) you only get what you need added to it.
C++ has no built-in graphics commands, it can't, it's designed to be cross-platform.
OpenGL is technically a C library, because it's old, cross language, and fast as hell. So you don't get the C++ advantages of templates, classes and such, but you can "C++"-ize it.
Code:
struct glBeginner{
glBeginner(GLenum mode){
glBegin(mode);
}
~glBeginner(void){
glEnd();
}
};
void MakeTriangle(void){
glBeginner scope(GL_LINES);
glVertex3i(0, 0);
glVertex3i(100, 0);
glVertex3i(50, 50);
}

BTW, "make" should NEVER be done in DOS, it should be done in Cygwin, because make files are designed for *nix.
Bookmarks