Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 29-07-2007, 08:04 PM   #1 (permalink)
Pee into the Wind...
 
shady_inc's Avatar
 
Join Date: May 2007
Location: Mumbai
Posts: 782
Default Help with Bloodshed Dev c++!


i recently installed Bloodshed Dev c++ from an old digit CD and wrote a program.compiled it without any errors.but whenever i run the program a DOS window blinks for a millisecond and disappears.That's it nothing else happens.what's the catch here guys??
shady_inc is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-07-2007, 08:11 PM   #2 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default Re: Help with Bloodshed Dev c++!

You need to hold the window at the end, before exit. Use a cin.get() at the end of main (getchar if you're doing C). The other alternative (cleaner, in my opinion) is to run the program from an already existing DOS Shell.
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
Sykora 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
Bloodshed DevC++ gives errors... REY619 Software Q&A 26 15-07-2007 06:54 PM

 
Latest Threads
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:52 AM.


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

Search Engine Optimization by vBSEO 3.3.2