Text string not appearing - RH problem?

This is a discussion on Text string not appearing - RH problem? within the C Programming forums, part of the General Programming Boards category; I've just installed RH8 and tried a simple "hello world" program listed below. However, none of the text appears. The ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    15

    Text string not appearing - RH problem?

    I've just installed RH8 and tried a simple "hello world" program listed below. However, none of the text appears. The new lines show up, but no text. Not sure what I'm doing wrong.

    #include<stdio.h>
    int main() {
    printf("\nhello world");
    return;
    }

    I tried it on an old RH7.3 copy and it worked just fine. Using regular old gcc; tried KDE, full screen mode, etc.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    15

    hmmmm...

    it worked. however, why did it not automatically flush the buffer? do i have to manually do that even though it is such a simple program? thanks again for the help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 02:17 PM
  2. Replies: 3
    Last Post: 05-25-2005, 01:50 PM
  3. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 03:49 PM
  4. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 09:33 PM
  5. ........ed off at functions
    By Klinerr1 in forum C++ Programming
    Replies: 8
    Last Post: 07-29-2002, 09:37 PM

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