| | |
Expanding Command Prompt
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Apr 2008
Posts: 33
Reputation:
Solved Threads: 0
Is there a system command that I can use with system("x") to expand the prompt the program is in?
Or any other way of doing it, for that matter, I just need to get it to be the size it would be if I told the computer to maximize it, basically, I'm just going for half the screen.
Or any other way of doing it, for that matter, I just need to get it to be the size it would be if I told the computer to maximize it, basically, I'm just going for half the screen.
Last edited by Nishinoran; Aug 16th, 2008 at 10:41 pm.
This question has been asked and answered millions of times. Click here.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Apr 2008
Posts: 33
Reputation:
Solved Threads: 0
The google search you posted did not have anything related to programming. Do you think I'm an idiot? I googled the question before asking on this forum, and returned nothing, and neither did the search you posted, if it has been asked and answered so many times, why can't you provide the answer quickly, instead of giving me vague information?
•
•
Join Date: Nov 2007
Posts: 978
Reputation:
Solved Threads: 208
If you are on Windows, then you can use SetConsoleWindowInfo
•
•
•
•
The google search you posted did not have anything related to programming.
system() command have to do with the size of the command prompt?Not necessarily. But when 95% of the new posters here are, you unfortunately fell into that category. But then, if you rephrase your question so we understand what you are looking for, all doubts will be removed.
PS: Are you, maybe, talking about the command window -- not the prompt?
Last edited by WaltP; Aug 18th, 2008 at 2:15 pm.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
•
•
Join Date: Apr 2008
Posts: 33
Reputation:
Solved Threads: 0
Sorry if I was a bit rude, I did mean the window, although in my mind the window is basically a prompt, the reason I was asking about the system command is because I was hoping there was a simple DOS command built-in that would allow me to change the window.
Could you explain the function a little more, I was mainly confused on the parameters needed.
•
•
•
•
If you are on Windows, then you can use SetConsoleWindowInfo
A little easier one to use is ShowWindow() Get the first parameter by calling GetConsoleWindow()
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- wireless conection problem (Networking Hardware Configuration)
Other Threads in the C++ Forum
- Previous Thread: Borland C++ builder on Linux
- Next Thread: help me
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






