DIGIT-ARC read-only archive · snapshot: July 23, 2026

Free ALTERNATIVE for running C progs

10 posts · originally from https://geek.digit.in/community/threads/free-alternative-for-running-c-progs.73135/

eggman
eggman Original post #1
Nov 13, 2007 at 9:41 PM
Hello Guys...

Can you guys suggest some software to run and compile C programs in Windows Vista. Now that Turbo C don't work in Vista anymore(without DOS Emulator) , I'd like to have an alternative.Please don't suggest Microsoft Visual Studios, since its way too expensive(and I don't have torrents either). Do suggest, even if it's not free(Not hard to make free now-a-days :)) ).
Pathik
Pathik #2
Nov 13, 2007 at 10:51 PM
Dev C++
eggman
eggman #3
Nov 13, 2007 at 11:09 PM
^^Just the type I was looking for. Thanks!!
But , after I run any program, the screen disappears immediately after showing output.So i can't see the output.ANy solution?
Pathik
Pathik #4
Nov 13, 2007 at 11:09 PM
Add a clrscr function
clrscr();
S
Nov 13, 2007 at 11:12 PM
i think u mean getch() just brfore the closing braces of main()

clrscr() will clear the screen i suppose immediately
[xubz]
[xubz] #6
Nov 13, 2007 at 11:25 PM
Well, GCC (the Compiler that Dev-C++ uses) doesn't support Borland's CONIO.H Library. So functions like gotoxy, getch, clrscr DO NOT WORK.

Alternatives to those functions are (using stdlib.h)

system("cls");
system("pause > nul");

You can also use Relo Editor Paired with Borland Compiler 5.5, Search for Forum for Zeeshan's Topic.
eggman
eggman #7
Nov 13, 2007 at 11:55 PM
[xubz] said:
You can also use Relo Editor Paired with Borland Compiler 5.5, Search for Forum for Zeeshan's Topic.
I Would be very thankful if you'll post the link


eggman said:
^^Just the type I was looking for. Thanks!!
But , after I run any program, the screen disappears immediately after showing output.So i can't see the output.ANy solution?
pathiks said:
Add a clrscr function
clrscr();
Where to add?
Adding inside main() doesn't work!!!
nithinks
Nov 14, 2007 at 9:13 AM
eggman said:
Adding inside main() doesn't work!!!

you have to include conio.h
CadCrazy
Nov 15, 2007 at 1:36 PM
Just add
system("pause");
statement after your program in dev c++
[xubz]
[xubz] #10
Nov 15, 2007 at 1:53 PM
eggman said:
I Would be very thankful if you'll post the link
*www.thinkdigit.com/forum/showthread.php?t=65520