Thread: Total n00b question

  1. #1
    Registered User
    Join Date
    Mar 2009
    Location
    Boulder, Co
    Posts
    6

    Total n00b question

    Hopefully, this is an easy question, but I can't figure it out. I am using Dev-C++ to compile and execute programs. However I can't see the output of them. I even started with the simple Hello World to test the output and I can't find it. I do see a dos window open and close quickly, but I can't see the contents of it. Any ideas on how to check the output?

    I am learning C on my own, so I am sure to be lurking around here a lot in the future.

    Thanks!

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    In the FAQ, there is an entry talking about "How do I prevent the application window from disappearing".

    --
    mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Registered User
    Join Date
    Mar 2009
    Location
    Boulder, Co
    Posts
    6
    Awesome thanks...I searched the faq, but missed it. My bad. I am really not that lazy!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Either my loop is bad or my function is messed up
    By crazychile in forum C Programming
    Replies: 25
    Last Post: 11-02-2008, 02:04 PM
  2. newb question about interpreting and writing functions
    By crazychile in forum C Programming
    Replies: 1
    Last Post: 10-23-2008, 07:51 PM
  3. n00b question regarding the Map Class in the STL library
    By Axegrinder#9 in forum C++ Programming
    Replies: 2
    Last Post: 12-17-2005, 09:40 PM
  4. long problem
    By loko in forum C Programming
    Replies: 28
    Last Post: 07-22-2005, 09:38 AM
  5. I am a total n00b at C++
    By Tur13o in forum C++ Programming
    Replies: 19
    Last Post: 05-15-2002, 03:50 PM