delorie.com/archives/browse.cgi | search |
From: | av568 AT rgfn DOT epcc DOT edu (Beautiful Savior Lutheran Church) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Main + Void |
Date: | 13 Mar 1997 04:22:49 GMT |
Organization: | The Rio Grande Free-Net, El Paso Community College, El Paso, TX |
Lines: | 16 |
Message-ID: | <5g7vep$be8@news.epcc.edu> |
References: | <01bc2f01$9891dc60$7cae71a5 AT mod DOT exo DOT com> |
NNTP-Posting-Host: | rgfn.epcc.edu |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
MoD (mod AT exo DOT com) wrote: > just a quick question.. the "Main" part... is that the main body of the > code? > and what is "void" used for? =) main() is the function that gets run first in your C program. "void" can specify one of two things. In a pointer context, it declares the pointer to be of a generic type that can be casted to any other pointer type. When used preceding a function name in the prototype, it indicates that the function does not return a value. P.S: this is the incorrect forum for such questions. Please go to comp.lang.c -- Beautiful Savior Evangelical Lutheran Church - av568 AT rgfn DOT epcc DOT edu We have what you need-- A Savior!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |