Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 10:13:43 +0930
From:      Greg Lehey <grog@FreeBSD.org>
To:        Wing Tim <twchim1@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Programming Problem II
Message-ID:  <20010817101343.B50416@wantadilla.lemis.com>
In-Reply-To: <F51YSl1q4gtopWd7KKQ0000d185@hotmail.com>; from twchim1@hotmail.com on Thu, Aug 16, 2001 at 08:43:12PM %2B0800
References:  <F51YSl1q4gtopWd7KKQ0000d185@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 16 August 2001 at 20:43:12 +0800, Wing Tim wrote:
> Hi,
>     I have a program "s.c" (as attached).
>
>
> [-- Attachment #2: s.zip --]
> [-- Type: application/x-zip-compressed, Encoding: base64, Size: 29K --]
>
> [-- application/x-zip-compressed is unsupported (use 'v' to view this part) --]

I doubt that many people will go to the trouble to extract this file.
If you use a non-mutilating MUA (and there's no other evidence that
you don't), you can just attach the file.

 I placed it in the root and tried
> to compile it using "gcc s.c". However, I got lots of errors as follows:
> # gcc s.c
> s.c:295: syntax error before `int'

Without looking at the source, I'd guess that the word before int is a
typedef of some kind, and you haven't included the header file in
which it's defined.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010817101343.B50416>