Forum     

Go Back   Digit Technology Discussion Forum > Bandwidth Wastage > Chit-Chat
Register FAQ Calendar Mark Forums Read

Chit-Chat General discussions about anything that doesn't fit into the other sections to be had here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 13-11-2007, 09:41 PM   #1 (permalink)
I have Yolks not Brains!
 
eggman's Avatar
 
Join Date: Aug 2006
Location: Inside the shell
Posts: 742
Default Free ALTERNATIVE for running C progs


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 ).
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?

Last edited by eggman; 13-11-2007 at 09:46 PM.
eggman is online now  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 13-11-2007, 10:51 PM   #2 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: Free ALTERNATIVE for running C progs

Dev C++
Pathik is offline  
Old 13-11-2007, 11:09 PM   #3 (permalink)
I have Yolks not Brains!
 
eggman's Avatar
 
Join Date: Aug 2006
Location: Inside the shell
Posts: 742
Default Re: Free ALTERNATIVE for running C progs

^^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?
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?
eggman is online now  
Old 13-11-2007, 11:09 PM   #4 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: Free ALTERNATIVE for running C progs

Add a clrscr function
clrscr();
Pathik is offline  
Old 13-11-2007, 11:12 PM   #5 (permalink)
Wise Old Owl
 
Join Date: Dec 2004
Location: New Delhi/Bangalore
Posts: 1,087
Default Re: Free ALTERNATIVE for running C progs

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

clrscr() will clear the screen i suppose immediately
__________________
Shwetanshu Srivastava
I can give a headache to an aspirin!
shwetanshu is offline  
Old 13-11-2007, 11:25 PM   #6 (permalink)
"The Cake is a Lie!!"
 
[xubz]'s Avatar
 
Join Date: Oct 2006
Posts: 471
Default Re: Free ALTERNATIVE for running C progs

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.
__________________
[xubz] ● http://xubz.com/
[steam_id] ● http://steamcommunity.com/id/xubz
[xubz] is offline  
Old 13-11-2007, 11:55 PM   #7 (permalink)
I have Yolks not Brains!
 
eggman's Avatar
 
Join Date: Aug 2006
Location: Inside the shell
Posts: 742
Default Re: Free ALTERNATIVE for running C progs

Quote:
Originally Posted by [xubz]
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


Quote:
Originally Posted by eggman
^^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?
Quote:
Originally Posted by pathiks
Add a clrscr function
clrscr();
Where to add?
Adding inside main() doesn't work!!!
__________________
Y U NO ALLOW PICTURES IN SIGNATURES?

Last edited by eggman; 13-11-2007 at 11:56 PM. Reason: Automerged Doublepost
eggman is online now  
Old 14-11-2007, 09:13 AM   #8 (permalink)
True Techie
 
nithinks's Avatar
 
Join Date: Apr 2005
Posts: 260
Default Re: Free ALTERNATIVE for running C progs

Quote:
Originally Posted by eggman

Adding inside main() doesn't work!!!
you have to include conio.h
__________________
http://www.mytechyard.com/
nithinks is offline  
Old 15-11-2007, 01:36 PM   #9 (permalink)
in search of myself
 
CadCrazy's Avatar
 
Join Date: Sep 2006
Location: Gurgaon
Posts: 1,720
Default Re: Free ALTERNATIVE for running C progs

Just add
system("pause");
statement after your program in dev c++
__________________
::::::::::::::::::::
Unban Praka123
::::::::::::::::::::
Vista is my Secretary | Mac is my Girlfriend | Linux is my Wife
"Ek Se Mera Kya Hoga" :lol:
CadCrazy is offline  
Old 15-11-2007, 01:53 PM   #10 (permalink)
"The Cake is a Lie!!"
 
[xubz]'s Avatar
 
Join Date: Oct 2006
Posts: 471
Default Re: Free ALTERNATIVE for running C progs

Quote:
Originally Posted by eggman
I Would be very thankful if you'll post the link
Ditch Turbo C++ use Relo !
__________________
[xubz] ● http://xubz.com/
[steam_id] ● http://steamcommunity.com/id/xubz
[xubz] is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Artweaver - Free alternative to Photoshop Charan QnA (read only) 28 17-10-2007 02:13 PM
Best Free alternative to AOL AVS... bizzare_blue QnA (read only) 1 25-09-2007 01:06 PM
fc4 progs on fc5? romeo_8693 Open Source 6 09-10-2006 12:01 PM
C progs not running Vyasram QnA (read only) 3 11-09-2005 04:23 PM
free alternative to powerpoint paul_007 QnA (read only) 4 02-02-2005 05:54 PM

 
Latest Threads
- by Who
- by Tenida
- by bhaskar
- by Charan
- by Deepaks

Advertisement




All times are GMT +5.5. The time now is 10:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2