Free ALTERNATIVE for running C progs

Status
Not open for further replies.

eggman

I have Yolks not Brains!
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 :)) ).
 
Last edited:
OP
eggman

eggman

I have Yolks not Brains!
^^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?
 

shwetanshu

Cyborg Agent
i think u mean getch() just brfore the closing braces of main()

clrscr() will clear the screen i suppose immediately
 

[xubz]

"The Cake is a Lie!!"
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.
 
OP
eggman

eggman

I have Yolks not Brains!
[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!!!
 
Last edited:
Status
Not open for further replies.
Top Bottom