Thread: Changing size of dos screen

  1. #1
    Unregistered
    Guest

    Changing size of dos screen

    How do I resize the dos window whilst in console mode in C++?
    Thanks

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    depends.
    to make the font bigger (if in a window) just click on the bottom and drag. if you want more lines type
    Code:
    mode con lines=50
    lo and behold... there it is.
    if you want to edit something with the ms-dos editor (which is suprisingly better than notepad in some ways, imho) type:
    Code:
    edit /h file

  3. #3
    Registered User toaster's Avatar
    Join Date
    Apr 2002
    Posts
    161
    if you want to do this within the program, a possible solution is by using the system() function.

    example: system(parameter); // parameter is command
    think only with code.
    write only with source.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. changing font size
    By f6ff in forum C++ Programming
    Replies: 2
    Last Post: 06-12-2006, 03:41 AM
  2. Trouble with DMA Segmentation Faults
    By firestorm717 in forum C Programming
    Replies: 2
    Last Post: 05-07-2006, 09:20 PM
  3. Largest screen buffer size?
    By Ash1981 in forum C Programming
    Replies: 2
    Last Post: 01-30-2006, 04:31 AM
  4. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  5. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM