title: How to output colored text in C++ with codeblocks on Windows?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7778392/colorize-stdout-output-to-windows-cmd-exe-from-console-c-app">Colorize stdout output to Windows cmd.exe from console C++ app</a>  </p>
  </blockquote>
  
  
  
  <p>I am using codeblocks on Windows XP and I need a way to output colored text, and maybe change the color of the background as well in a console application.<br>
  I tried the <code>conio.h</code> functions but they don't seem to be compatible with code blocks. </p>