Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: gspoo 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
-
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
-
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
-
For C::B + MinGW there is an HowTo in the codeblocks wiki:
http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista