Course: V22.0002-004
What: Intro to Computers and Programming
Who: Joshua Hart
email: hart at dept.cs.nyu.edu
When: Tuesday & Thursday
2:00pm - 3:15pm
Where: CIWW 101

Main Class Page[]

Important Dates[]

Course Schedule[]

Example Code[]

Homework[]

Grading Policy[]

Class Email List

Starting a Visual C++ Project[]

Printing from Visual C++

  A22.0002 - Printing Output Screen and making it bigger.

Printing the Output Screen from Visual C++ and making it bigger


  1. Run your program. You will automatically be in the output window.
     
  2. When in the output window (the black one), click once on the "MS-DOS" symbol in the upper left-hand corner of the menu bar. You will get a pull-down menu.
     
  3. Under the sub-menu "Edit" select "Mark".
     
  4. The cursor will blink on the upper left-hand corner of the window. "Click" and "drag" to select the text you want to print.
     
  5. Hit the "enter" key (Enter).
     
  6. Start Wordpad.
    (Start->Programs->Accessories->Wordpad)
     
  7. Inside Wordpad, use the Paste command.
    (Edit->Paste or <Ctrl>-V)
     
  8. Print from within Wordpad.
    (File->Print)


  1. Double click on "My Computer" to see the top folder
     
  2. Double click on the folder "Windows"
     
  3. You will get an empty screen with a warning that modifying these files can lead to system problems. You are given an option to show the files by clicking on "show files". Do that to display the contents of the folder.
     
  4. Double click on the folder "System"
     
  5. You will get another message like in step 3. Click on "show files"
     
  6. Look for a file called "conagent" and select it by clicking once (you will probably have two, one with the MS-DOS icon, the other with a blue window icon, they are really the same so you can use either one).
     
  7. Right-click (using the right button on your mouse) on "conagent" and select the "Properties" option.
     
  8. Click on the "Screen" tab.
     
  9. In the first part of the panel, on the right-hand side, select the size to be 50 lines.
     
  10. In the middle section of the panel, unselect "Restore settings on startup".
     
  11. Close the window. From now on, every time you run a program from within Visual C++, you will get a window with 50 lines.


Last Modification: