🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15043

Re: How to Define "Extern" Function in C++ Builder

#15043
From: Alan Bellingham
Date: Tue, 22 Jul 2003 22:47
21 lines
1707 bytes
"Umar" <umarkazi@yahoo.com> wrote:

>
>I am trying to use Extern Function, but its giving me declaration syntax error. I am using it like this way 
>
>                  Extern "C"
>                    {
>                     all the commands to read input written in  this area 
>                    }
>
>Could you please help me in this regard 

'extern' is not a function, it's a keyword.

More importantly, it's spelt 'extern', not 'Extern'.

Alan Bellingham
-- 
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming               <url:http://accu.org/>
The 2004 Discworld Convention                   <url:http://dwcon.org/>
Technical Details
Message-ID: <emfrhvg6n51j0vnnrh837m2l5kjjhiqh12@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f1db2db$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6fe63ea9ffe8bf86
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-22 16:09:26 PST
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to Define "Extern" Function in C++ Builder
Date: Tue, 22 Jul 2003 23:47:33 +0100
Reply-To: alanb@episys.com
Message-ID: <emfrhvg6n51j0vnnrh837m2l5kjjhiqh12@4ax.com>
References: <3f1db2db$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1058914038 62.49.31.105 (22 Jul 2003 15:47:18 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail