C++ School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

 

Code Snippets

  

C++ Source Code


You're Browsing As A Guest! Register Now...
Become a C++ Expert!

Join 358,290 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,480 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: 2,187

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