Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2002
    Location
    VA
    Posts
    2

    Question Executing C++ programs with line formatting

    I am trying to format output to the screen in columns across the page. My linesize will be a total of 80 characters long. I am working with setw and the iomanip header file in order to get that done.

    My problem is that when I run my program, I cant enlarge the width of the command prompt window to 80 characters. I cannot drag out the edges, and it only maximizes vertically.

    I am working with Windows 2000 professional operating system, and MS Visual C++. Is there a setting I can get to in either Visual C++ or somewhere else to get the execution window to fit the screen?

    Otherwise is there any other way I can execute my C++ executable? I think that is going to be a stupid question, but I dont know the answer...

  2. #2
    Join Date
    Feb 2002
    Location
    VA
    Posts
    2

    got it...sorry about that

    Someone explained this to me. The command prompt window appears in a window - if you right click on the shortcut, and go to Properties, that is where the heighth and width are set. I knew there had to be a trick...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •