Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how i can leave spaces between my program output
#1
Subject: Line spacing
Dear Sir,

I want to know how i can leave spaces between my program output.

Please tell me about the proper command.

Thanks
Reply
#2
Dear Student,
Your query seems to be unclear and ambigous but as per my understanding, you want me to tell you how to manage output on screen. In C/C++, special characters are used which help us to control the output of our program. There special characters are called escape sequence. These characters are used with our cout statement. For example, In C/C++, one common escape sequence character is \n which is a new line character and used to go to the next line.

There is a long list of escape sequences character which can be used to manage our program output. I suggest you to make a search over the internet to see the complete list of such special characters.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  c++ program on unix varup 0 7,579 10-10-2012, 06:16 PM
Last Post: varup
  i take input from getchar(); function in program in C++ 2012 Vuhelper 0 2,992 05-31-2012, 01:40 AM
Last Post: Vuhelper
  program Output in C++ 2012 Vuhelper 0 2,957 01-06-2012, 12:28 AM
Last Post: Vuhelper
  For running C++ program from command prompt “gcc” and “g++” compilers are used. Vuhelper 0 6,391 01-04-2012, 10:41 PM
Last Post: Vuhelper
  Function (Retrun push)for what purpose use in the program. ? Vuhelper 0 1,861 11-05-2011, 05:03 PM
Last Post: Vuhelper
  C++ Help with Template class program 2011 Vuhelper 0 823 07-23-2011, 05:40 PM
Last Post: Vuhelper
  A simple pthread program runtime error in c++ 2011 Vuhelper 0 898 07-23-2011, 05:39 PM
Last Post: Vuhelper
  Problem with the complexity of the program 2011 Vuhelper 0 734 07-06-2011, 06:19 PM
Last Post: Vuhelper
  Write a calculator program using a do-while loop in c++ 2011 Vuhelper 0 2,771 06-27-2011, 06:41 PM
Last Post: Vuhelper
  what is program in C++ May 2011 ? Vuhelper 0 1,898 05-30-2011, 03:00 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)