|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Are you running Unix or some other OS?
|
|
|||
|
Have you tried running the commands in cmd.exe yourself? Like typing CLS and PAUSE? If it's a problem with cmd.exe then you need a new copy. Otherwise your program is sending the command to the wrong place (what is "sh" anyway?)
|
|
|||
|
Odd...
I did a bit of Googling, and came upon what might be a solution. Try doing this: Code:
system("cmd.exe /c cls");
|
| Sponsored Links |
|
|
|
|||||
|
Sorry for late replay, I've been out farming
![]() What the heck IS cygwin btw? I thought it was just a compiler variation of gnu, but obviously it's a lot more.. I have MingW and Dev-C++, but prefer NetBeans. I'll see if I can make them work together. dargueta: I'll try Thx to both of you for helping
__________________
|
|
|||||
|
Cygwin is an environment that runs within windows to give you access to *nix commands. The side effect of this is that when you are in Cygwin, you are NOT in Windows for all intents and purposes. While in Cygwin, you only have access to *nix commands, but do NOT have access to Windows commands. Cygwin is useful as it gives you the ability to run many programs that do not run on Windows for various reasons (such as lack of POSIX support).
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Programming is a branch of mathematics. |
|
|||||
|
But... I don't need that... I just need the god**** GNU C++ compiler....
I got hold of the C/C++ NetBeans add-on. No compiler. So I checked the website, and was instructed to download the GNU C/C++ compiler from Cygwin (followed a link, I guess). Is this Cygwin stuff just a lot of libraries I don't need, or is it some kind of active stuff which runs secretly on my computer...?
__________________
|
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bash Shell, using wget and awk? | TIGA | General Programming | 0 | 04-11-2008 07:31 PM |
| [Pascal in Delphi]System to system | Krad | Pascal/Delphi | 5 | 12-27-2007 02:35 PM |
| [PHP] Faking Shell Access Through PHP | pranky | PHP Tutorials | 2 | 03-29-2007 07:28 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |