Running a program

This is a discussion on Running a program within the C Programming forums, part of the General Programming Boards category; This may seem as a really silly question but I'm just clueless. I'm really new to this and I recently ...

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    2

    Unhappy Running a program

    This may seem as a really silly question but I'm just clueless. I'm really new to this and I recently downloaded the bloodshed Dev C++ compiler. However, when I tried running my program after compiling the page just blinks and nothing comes up. Info is supposed to be read from a file input.txt (I created the file) and the the results are supposed to be printed on a screen.

    I'm really confused because I compiled and run the exact program at the lab at school but now I can't do it. I've tried compiling and running simple programs (eg. printing a sentence 10 times) as a test but the results still don't show. What am I doing wrong? Thanks

  2. #2
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Try a google search... Or search the board... you are not the first and nor will you be the last with this question.

  3. #3
    Fountain of knowledge.
    Join Date
    May 2006
    Posts
    794
    Quote Originally Posted by dingolay
    This may seem as a really silly question but I'm just clueless. I'm really new to this and I recently downloaded the bloodshed Dev C++ compiler. However, when I tried running my program after compiling the page just blinks and nothing comes up. Info is supposed to be read from a file input.txt (I created the file) and the the results are supposed to be printed on a screen.

    I'm really confused because I compiled and run the exact program at the lab at school but now I can't do it. I've tried compiling and running simple programs (eg. printing a sentence 10 times) as a test but the results still don't show. What am I doing wrong? Thanks
    Dunnno, but I use GCC not Bloodshed, I find it simpler to understand, it's just a compiler, there is no user interface etc to understand.
    I got it from here:-
    http://www.delorie.com/djgpp/

    You might find it easier to get started with (although actually downloading and installing it might
    be a little daunting!!).

  4. #4
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    First post, I'll be nice.
    FAQ > How do I... (Level 1) > Stop my Windows Console from disappearing everytime I run my program?

    Just promise to read this too:
    Forum Guidelines. Read before posting
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    2
    Thanks for all the replies I did a quick board search...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program running long
    By smarta_982002 in forum Windows Programming
    Replies: 3
    Last Post: 03-27-2008, 06:24 AM
  2. Running my program in the background
    By shoobsie in forum Windows Programming
    Replies: 4
    Last Post: 10-09-2005, 03:38 AM
  3. Replies: 3
    Last Post: 09-05-2005, 09:57 AM
  4. Why is my program running away?
    By badkitty in forum C++ Programming
    Replies: 4
    Last Post: 09-19-2001, 05:27 PM
  5. Running program
    By muffin in forum C Programming
    Replies: 5
    Last Post: 08-30-2001, 11:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21