delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/29/20:22:58

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.lang.c,comp.os.msdos.djgpp
Subject: Re: Help me to do a function!
Date: Wed, 29 Sep 1999 16:48:55 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 26
Message-ID: <7su1jl$9ra$1@solomon.cs.rose-hulman.edu>
References: <zEtI3.19$%af DOT 186827776 AT newsa DOT telia DOT net>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 938641845 10090 137.112.205.146 (29 Sep 1999 21:50:45 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 29 Sep 1999 21:50:45 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jan <olausson AT finspang DOT mail DOT telia DOT com> wrote in message
news:zEtI3.19$%af DOT 186827776 AT newsa DOT telia DOT net...
> This might sound silly but can anyone help me how to do a simple function?
> I need to know how to declare one and how to do the real one.

Your request has been forwarded to comp.lang.c
If you're just learning C, they would be glad to help.
To get you started, here's hello.c

/***** start hello.c *****/

#include <stdio.h>

/* in real programs this would be
int main(int argc, char **argv)
*/
int main(void)
{
  puts("Hello world");
  return 0;
}

/***** end hello.c *****/


- Raw text -


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