delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/07:34:38

From: Tilo-Johannsen AT t-online DOT de (Tilo Johannsen)
Newsgroups: comp.os.msdos.djgpp
Subject: newbie needs help
Date: 14 Apr 1998 05:51:07 GMT
Organization: T-Online
Lines: 22
Message-ID: <6gutgb$73u$1@news02.btx.dtag.de>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Is there somebody who likes to explain the following:

c:\ csource>gcc -c -Wall erstes.c

erstes.c:1: undefined or invalid # directive
erstes.c:3: warning: return-type defaults to `int`
erstes.c: In function `main`:
erstes.c:4: warning: implicit declaration of function `printf`
erstes.c:5: warning: control reaches end of non-void function

my file erstes.c:

#inckude <stdio.h>
main()
{
printf("AOL C-Kurs\n");
}

I am still waiting to compile my first exe......who can help my.

thank´s Tilo

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019