Date: Tue, 26 Aug 1997 23:21:40 +0200 From: Peter Korsten <peter@grendel.IAEhv.nl> To: freebsd-chat@freebsd.org Subject: Re: ATT Unix for Windows ! Message-ID: <19970826232140.15125@grendel.IAEhv.nl> In-Reply-To: <199708261537.LAA24177@gatekeeper.itribe.net>; from Jamie Bowden on Tue, Aug 26, 1997 at 11:41:44AM -0400 References: <199708261433.HAA13625@hub.freebsd.org> <199708261537.LAA24177@gatekeeper.itribe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Jamie Bowden shared with us:
> On Tue, 26 Aug 1997, Jonathan M. Bresler wrote:
>
> > i am surprised by this, a friend of mine here, recently had to
> > learn C. the course dictated the use of VC++. he went thru
> > hell getting VC++ to do what he wanted. i showed him how i
> > would do it in xemacs/gcc (i am NOT xemacs skilled much less
> > a wizard). he wanted to know why he had to use VC++!
> >
> > one ancedote for what its worth.
>
> Especially considering c++ is not c.
I don't see the problem. VC++ distinguishes between C and C++. If
you don't use C++, you get C-style linking. If you mix the two,
you have to place something like
#if defined( __cplusplus )
extern "C"
{
#endif
in your code - but that's really the standard way of doing things.
- Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970826232140.15125>
