From: seebs@... (Peter Seebach) Date: 2007-05-08T07:51:41+09:00 Subject: Re: rdoc on c and cpp files In message <923DE35C-CA19-4867-B3CE-FC3DB60A4393@gmail.com>, John Joyce writes: >What PS is saying is, unless you're using a really old compiler and >system (really really old) ... >main is a function that always returns int. Not void. Though some >compilers are kind of forgiving and will change it internally to int >anyway, just use int. It's been "int" since the first C compilers. There's some platforms that are more tolerant, but it's been that way since K&R1. -s