Author Topic: Terminal and MsDos on Windows  (Read 2248 times)


  • Guest
Terminal and MsDos on Windows
« on: November 10, 2007, 01:34:31 pm »
Hi guys!
Im quite new to programming and in school we do it on a Linux system, so my question is:

Is there a way to get something similar to the terminal in Unix systems for Windows?
The MsDos window is very, very (i mean "very") unhandy since you need the system("PAUSE") command to keep it open and i have no idea how to start a program directly with parameters (like :"Multiply 5 3 "to start a programm that multiplies 5 and 3 ) so would really want a "Terminal".

BTW: im using Vista if that matters...

greets gspoo

Offline XayC

  • Multiple posting newcomer
  • *
  • Posts: 94
Re: Terminal and MsDos on Windows
« Reply #1 on: November 10, 2007, 03:24:16 pm »
I guess you are looking for the shell (console window) in Windows. To open a new console window run the command 'cmd', to run a command use the start menu, or the shortcut WINDOWSKEY+R.

When you have the console you can work like you would have done in Linux. For example you can move to where you have your program executable and run it passing parameters.

Regards, XayC


  • Guest
Re: Terminal and MsDos on Windows
« Reply #2 on: November 13, 2007, 09:01:51 pm »
Thx alot gotta try that, but for the moment I solved it by executing my programs on a Server running with linux due to ssh :P
But now i noticed a new problem:
If I try to compile its says:

Compiling: C:\Users\gspoo\Programme Informatik\Stack.cpp
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

I downloaded the full package (with compilers) and am using the GNU compiler...
whats the problem there?

BTW: Does it make sense to install dev c++ and code::Blocks?

mfg gspoo

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: Terminal and MsDos on Windows
« Reply #3 on: November 13, 2007, 09:33:28 pm »
For C::B + MinGW there is an HowTo in the codeblocks wiki: