Computer Games Forum

Go Back   Computer Games Forum > Tech > The Workshop > Limbaje de programare

Notices

Reply
 
LinkBack Thread Tools
Old 22-10-2009, 17:07   #1 (permalink)
Registered User
 
Mr.Misulescu's Avatar
 
Join Date: Dec 2007
Location: Bucharest
Colorare text afisat cu "cout<<"

Salut, doresc sa colorez anumite date pe care le scriu cu cout, cu culoare verde. Se poate? Folosesc Dev c++ sau visual c++.
Varianta mea care nu functioneaza:

#include <iostream.h>
#include <conio.h>

int main()
{
textcolor ( BLUE );
cout << "This will be blue";
return 0;
}

NEED HELP!
__________________
YM: ion_silviumihai Telefon: 0722552090

The only way to get smarter is by playing a smarter opponent.
Time doesn't go back, it goes forward. Can't run from the pain, go towards it !
 
Mr.Misulescu is offline    Send Message via Google Talk to Mr.Misulescu Reply With Quote
Old 22-10-2009, 23:03   #2 (permalink)
Subterranean infiltrator
 
Karg's Avatar
 
Join Date: Apr 1999
nu functioneaza as in afiseaza albastru in loc de verde sau nu functioneaza fiindca nu compileaza?
__________________
[Sparkky] anybody alive?
[Tigga] nope, the zombie apocalypse came. you would have thought we'd all be ready for it, given it's a fairly common game type
[Tigga] but no, we all got zombiefied
[Tigga] you're the only one left, apart from the dude who will sell you guns
 
Karg is offline    Reply With Quote
Old 22-10-2009, 23:21   #3 (permalink)
Registered User
 
Join Date: Aug 2002
Change text color using visual c++ - C++
 
mhanor is offline    Reply With Quote
Advertisment
Reply

  Computer Games Forum > Tech > The Workshop > Limbaje de programare

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 13:26.


This site is copyrighted ©1997 - 2009, Computer Games Online SRL