Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

willsterstyle

why doesn't this work?

This topic is 6112 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

#include iostream.h #include conio.h int main() { textcolor(RED); cout<<"shit!....."; getch(); return 0; } OR #include iostream.h #include conio.h int main() { textcolor(RED); printf ("DOH!"); getch(); return 0; } and what exactly does printf do?? i''m trying to get an output with colored words and a colored background..but i don''t know how to do it it doesn''t seem to work on dev c=+ what this is..and i don''t think its right either could someone help me fix this up?.. thx

Share this post


Link to post
Share on other sites
Advertisement
one more thing
what i''m doing really is making a typing game in C++ code
and i REALLLLLYY need some help on this
we''re trying to integrate some games into this to make it more interesting
any tips?
I''m really desparate! my basic knowledge of C++ just doesn''t seem to be enough

Share this post


Link to post
Share on other sites
Hi!

i tried using your line of code..but STILL..it doesn''t work!
i get errors like
implicit declaration of function ''int textcolor(...)
implicit delcaration of function ''int cprintf(...)''
i don''t know..is it my compiler that i''m using?..why does it still not work?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!