DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Compiling and running a program in windows 7

  1. #1
    Join Date
    Feb 2010
    Posts
    1

    Compiling and running a program in windows 7

    I'm using Dev-C++ 4.9.9.2 in a windows 7 home premiun operating laptop and I'm new in C++ programming. The program compiles well but can't run, a black screen flashes. Please help, I have to submit my first assignment soon.

  2. #2
    Join Date
    Jan 2005
    Location
    UK
    Posts
    604
    try to run from the commandline. I reckon your program executes and quits so quickly that you don't see anything. You can also try to do a read from the console just before the return of main() --> look up cin >> in your documentation or www.cppreference.com or so. If that doesn't help then post your code here and we try to find out what's wrong.
    DKyb
    -------------------------------
    Life is a short warm moment -
    Death is the long cold rest.
    Pink Floyd
    -------------------------------

Similar Threads

  1. Compiling help...
    By Joe in forum Java
    Replies: 1
    Last Post: 02-14-2002, 07:31 AM
  2. Replies: 1
    Last Post: 04-12-2001, 01:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center