Color in c++

G

Gernot Frisch

Anybody know how put color in c++, in platform win32. thank you.

OT here. See comp.os.ms-windows.programmer.win32 e.g.
Tip:
google for "GDI windows"

SetPixel(HDC, LONG x, LONG Y, COLORREF col);

HTH,

--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}

________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
 
J

Jacques Labuschagne

Thiago_brazilian said:
Anybody know how put color in c++, in platform win32. thank you.

Many modern editors support syntax highlighting... Emacs, vim, kate,
MSVC, joe, C++ Builder, JEdit, PFE, textpad, code-genie... Take your pick.

Jacques.


P.S. Read the FAQ.
 
B

Bill Seurer

Thiago_brazilian said:
Anybody know how put color in c++, in platform win32. thank you.

Move the cursor between the "c" and the first "+" or between the two
"+"s and (with insert enabled in your editor) type "color".

Seriously, your question is too vague to be answerable and is off topic
for this newsgroup.
 
J

John Smith

Thiago_brazilian said:
Anybody know how put color in c++, in platform win32. thank you.

Hire 15 cheer-leaders.

Give me a C...give me an o....give me...oh...wrong newsgroup.

TH
 
R

Richard Herring

Claudio said:
Now, now... we mustn't treat them as objects.

Why not?

for_each(cheerleaders.begin(), cheerleaders.end(),
mem_fun_ref(&CheerLeader::Cheer));
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,460
Latest member
eibafima

Latest Threads

Top