HI THERE ....
CAN any one tell me; how to draw a straight line(639,0) with black color and on white back ground in borland c++ 16bit compiler; i know how to set white back ground but the straight line is a real problem

if any one can ans this plz i'm waiting

Member Avatar for JSPMA1988

You learn to read the documentation of the compiler you use.

void color(){

cout << "write a number" << endl;
string color;
cin >> color;

system( ("color "+color).c_str() );

}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.