Code Snippets

  

C++ Source Code


Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 95,475 C++ Programmers for FREE!. Ask your question and get quick answers from Dream.In.Code experts. There are 958 online right now! We're the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a C++ Expert

Register to Make This Box Go Away!



Esc key characters in DOS

Use character attributes such as bold, underline, blinking, colors, ect, ect, on the DOS command line interface.

Submitted By: no2pencil
Actions:
Rating:
Views: 703

Language: C++

Last Modified: October 31, 2007

Snippet


  1. #include <stdio.h>
  2. #include<iostream.h>
  3. #include<conio.h>
  4.  
  5. int main(void) {
  6.   cout << "regular " << '\033' << '[' << "boldface" << endl;
  7. }

Copy & Paste


Comments


There are currently no comments for this snippet. Be the first to comment!

Add comment


You must be registered and logged on to </dream.in.code> to leave comments.





Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->