   Notepad in C++ ?
  How can We Write Simple Notepad in C++ ?I have used cin.getline(mybuffer,1000);but I can't clear using backspace  .and what is "\b \b" character ?   
  This tutorial will help you with making notepad on windows: http://www.winprog.org/tutorial/   ;  You won't be able to just write a program and run it from the console, because the console is doing line buffering and other processing on the input before your program even sees it."\b \b" is a description of a string, not a character. There are three characters here: a backspace, a space and another backspace.The backspace character does not clear text. It only moves the cursor backwards. The idea is to move the cursor backwards, output a space (to replace whatever symbol is currently there, and thus clear it), and move the cursor backwards again (because outputting the space moved it forwards).   