News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Terminal and MsDos on Windows

Started by gspoo, November 10, 2007, 01:34:31 PM

Previous topic - Next topic

gspoo

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

XayC

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

gspoo

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

darthdespotism