June 28, 2007

How can I compile #include &ltstdio.h> program I linux?

hi I'm trying to compile below program while compiled that program I got error "include expects "FILENAME" or <filename>" I'm using linux 2.4.2-6 (i386).

  1. source:
  2. take out the &
  3. return 0;
  4. {
  5. #include &ltstdio.h>
  6. int main(void)
  7. Looks like the website you pulled this code from had a typo. Here's what the code should look like:

    #include <stdio.h>
    int main(void)
    {
    printf("hello");
    return 0;
    }

  8. printf("hello");

Tags: ,

Tell a Friend Today!

del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Blogg-Buzz Google Ma.gnolia Netscape ppnow Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Windows Live Wists Yahoo! Help

Permalink • Print

Track this entry

RSS BlogPulse

RSS Technorati Cosmos

Related Searches

, , , ,