The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-28-2008
cleansing_flame's Avatar
cleansing_flame cleansing_flame is offline
Registered User
 

Join Date: Nov 2007
Location: NYC
Posts: 37
help on compiling a C program on Tiger

here is the very simple bob.c:

main()
{
printf("hello");
}

i use tiger and i use the command:
gcc bob.c

and the end result:

bob.c: In function ‘main’:
bob.c:3: warning: incompatible implicit declaration of built-in function /‘printf’


any help appreciated, i'm just starting up, hopefully thanks in advance
Reply With Quote
Remove advertisements
!!
Forum Sponsor