Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9272683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:55:49+00:00 2026-06-18T15:55:49+00:00

The screen on which our output appears in C is 8 tab spaces wide.

  • 0

The screen on which our output appears in C is 8 tab spaces wide. Is there any hack to increase the width of C ‘s print screen ? In case it is necessary, I am working in windows on codeblocks IDE .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:55:50+00:00Added an answer on June 18, 2026 at 3:55 pm

    The C programming language and libraries don’t have a print screen per se. They send output to streams. In the case of the printf function, for example, there is a default output stream called stdout, which echoes to your terminal, so the following two calls are equivalent:

     printf( "hi!\n" );
     fprintf( stdout, "hi!\n" );
    

    A line of output to a stream is delimited by a newline character (\n). (But since you’re on windows, you may need to end your lines with \r\n, especially if you redirect your output to a text file sometimes. See here.)

    So I think your question is really about how to control the number of characters your terminal will print before automatically wrapping to the next line (or truncating). (And maybe how your terminal will deal with tabs?) This will depend on what hardware, os, and shell you are running, but Termcap is probably where you want to start if you’re using a unix style shell. If you’re using a windows CMD.EXE window, there are some settings you can access through the “Layout” tab of the “Properties menu”, which is accessible via the window menu icon in the upper left hand corner of the menu bar; this will let you set your screen buffer width and thus control whether long lines will wrap or result in a horizontal scroll bar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to develop a selection-tool for Screen which ignores the leading spaces
There are lots of java apps on my simulator menu screen which I have
I will have a screen in which there will be 11 images one below
There is an app on the Google Play Store called Screen Filter, which is
In our Project there is one critical thing which we need to implement .
There are reported problems with our web application which only seem to be happening
This is a two part question. Our iPhone application has a screen which needs
The screen which shows whenever i start Netbeans is very annoying, and among the
I have search screen which has 10 fields and involves around 5 to 6
I want to create a windows phone screen which will display the some users

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.