Article View: rec.games.programmer
Article #216Re: TP or C ?
From: Khan
Date: Mon, 27 Jul 1992 13:35
Date: Mon, 27 Jul 1992 13:35
43 lines
1402 bytes
1402 bytes
In article <1992Jul27.005111.3185@ccu1.aukuni.ac.nz> stuartw@ccu1.aukuni.ac.nz (Stuart Woolford) writes:
>tmkk@uiuc.edu (Khan) writes:
>
>
>>// begin code fragment
>
>>int a;
>
>>void blort(void)
>>//
>>// B L O R T
>>//
>>// Description: A stupid example code snippet for posting to a Usenet
>>// newsgroup.
>>//
>>// Parameters:
>>// None.
>>//
>>// Global Variables Used:
>>// a
>>//
>>{
>>int b;
>
>> b = 1; // set LOCAL variable to 1
>> a = 1; // set GLOBAL variable to 1
>>}
>
>>// end code fragment
>
>
>>;-)
>
>....GASP....But you are using C++....Not fair on poor little Pascal !! ;-)
>(really, only c++ allows // comments B-)
BAANT!!!
Borland's *C* compiler understands them, no problem.
But if it makes you feel any better, do a global search and replace of
// with /* and add the */ manually, then recompile the source. ;-)
Technical Details
Message-ID:
<Bs1v2u.CGq@news.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!usenetReferences:
<1992Jul27.005111.3185@ccu1.aukuni.ac.nz> <1992Jul23.182026.57480@cc.usu.edu> <cg.0afn@ami-cg.UUCP>Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!usenet From: tmkk@uiuc.edu (Khan) Subject: Re: TP or C ? References: <1992Jul27.005111.3185@ccu1.aukuni.ac.nz> <1992Jul23.182026.57480@cc.usu.edu> <cg.0afn@ami-cg.UUCP> Message-ID: <Bs1v2u.CGq@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Date: Mon, 27 Jul 1992 13:35:17 GMT Lines: 44