Chat LIVE With Programming Experts! There Are 23 Online Right Now...

 

Code Snippets

  

C++ Source Code


Welcome to Dream.In.Code
Become a C++ Expert!

Join 244,156 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,381 people online right now. Registration is fast and FREE... Join Now!





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: 1,740

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!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month