/* test */
/* test */
Collapse
This topic is closed.
X
X
-
Joe SmithTags: None -
Skarmander
Re: /* test */
Joe Smith wrote:[color=blue]
> /* test */
>[/color]
This is not a complete C program, since there is no declaration for main().
It will compile as a unit, of course.
I suspect that's not what you were after, though. Please don't send test
messages to regular newsgroups; the "what if *everyone* did that" argument
applies here. Use a newsgroup specifically intended for testing (like, say,
alt.test) to see if your posts are going anywhere.
Keep in mind that Usenet is not a forum. It can take a while for your
messages to appear, even on your local news host.
S.
-
Rod Pemberton
Re: /* test */
"Skarmander " <invalid@dontma ilme.com> wrote in message
news:4450ffea$0 $31642$e4fe514c @news.xs4all.nl ...[color=blue]
> Joe Smith wrote:[color=green]
> > /* test */
> >[/color]
> This is not a complete C program, since there is no declaration for[/color]
main().[color=blue]
> It will compile as a unit, of course.
>
> I suspect that's not what you were after, though. Please don't send test
> messages to regular newsgroups; the "what if *everyone* did that" argument
> applies here. Use a newsgroup specifically intended for testing (like,[/color]
say,[color=blue]
> alt.test) to see if your posts are going anywhere.
>[/color]
The newserver he's using might allow posting to alt.test but deny to
comp.lang.c or vice versa. It might only allow local posting which means
his post is viewable on that newserver only (which I've run into a few
times) . A better method would be for him to attempt to post a valid reply
to comp.lang.c and if the server denies, try another server. If it allows,
check to see if it made it to other large readable open servers and Google.
There are many sites on the net that list these.
Rod Pemberton
Comment
-
Andrew Poelstra
Re: /* test */
Rod Pemberton wrote:[color=blue]
> "Skarmander " <invalid@dontma ilme.com> wrote in message
> news:4450ffea$0 $31642$e4fe514c @news.xs4all.nl ...[color=green]
>> Joe Smith wrote:[color=darkred]
>>> /* test */
>>>[/color]
>> This is not a complete C program, since there is no declaration for[/color]
> main().[color=green]
>> It will compile as a unit, of course.
>>
>> I suspect that's not what you were after, though. Please don't send test
>> messages to regular newsgroups; the "what if *everyone* did that" argument
>> applies here. Use a newsgroup specifically intended for testing (like,[/color]
> say,[color=green]
>> alt.test) to see if your posts are going anywhere.
>>[/color]
>
> The newserver he's using might allow posting to alt.test but deny to
> comp.lang.c or vice versa. It might only allow local posting which means
> his post is viewable on that newserver only (which I've run into a few
> times) . A better method would be for him to attempt to post a valid reply
> to comp.lang.c and if the server denies, try another server. If it allows,
> check to see if it made it to other large readable open servers and Google.
> There are many sites on the net that list these.
>
>
> Rod Pemberton
>
>[/color]
There's enough arguing about semantics here that one could write a test
post that appeared to have some content: "Well, in standard C68, it
clearly states that an 'int' is 6 bits, and I've seen a few people using
that standard, so your code isn't really portable..."
I believe that's what I did when I was testing servers.
And to the OP: Check with your ISP; they often have little-advertised
news servers that you may use freely.
--
"Every prime number in a series as a joke
Made all the patterns clear when I took that final toke"
- - Andrew Poelstra <http://www.wpsoftware. net/blog>
Comment
-
Joe Smith
Re: /* test */
"Andrew Poelstra" <apoelstra@shaw .ca> wrote in message
news:krp4g.8313 9$P01.42606@pd7 tw3no...[color=blue]
> Rod Pemberton wrote:[color=green]
>> "Skarmander " <invalid@dontma ilme.com> wrote in message
>> news:4450ffea$0 $31642$e4fe514c @news.xs4all.nl ...[color=darkred]
>>> Joe Smith wrote:
>>>> /* test */
>>>>
>>> This is not a complete C program, since there is no declaration for[/color]
>> main().[color=darkred]
>>> It will compile as a unit, of course.
>>>
>>> I suspect that's not what you were after, though. Please don't send test
>>> messages to regular newsgroups; the "what if *everyone* did that"
>>> argument
>>> applies here. Use a newsgroup specifically intended for testing (like,[/color]
>> say,[color=darkred]
>>> alt.test) to see if your posts are going anywhere.
>>>[/color]
>>
>> The newserver he's using might allow posting to alt.test but deny to
>> comp.lang.c or vice versa. It might only allow local posting which means
>> his post is viewable on that newserver only (which I've run into a few
>> times) . A better method would be for him to attempt to post a valid
>> reply
>> to comp.lang.c and if the server denies, try another server. If it
>> allows,
>> check to see if it made it to other large readable open servers and
>> Google.
>> There are many sites on the net that list these.
>>
>>
>> Rod Pemberton
>>
>>[/color]
> There's enough arguing about semantics here that one could write a test
> post that appeared to have some content: "Well, in standard C68, it
> clearly states that an 'int' is 6 bits, and I've seen a few people using
> that standard, so your code isn't really portable..."
>
> I believe that's what I did when I was testing servers.
>
> And to the OP: Check with your ISP; they often have little-advertised news
> servers that you may use freely.
> --
> "Every prime number in a series as a joke
> Made all the patterns clear when I took that final toke"
> - - Andrew Poelstra <http://www.wpsoftware. net/blog>[/color]
My usenet provider had not enabled posting, and my usenet savvy is less than
stellar. Joe
Comment
-
Dave Thompson
Re: /* test */
On Thu, 27 Apr 2006 19:31:26 +0200, Skarmander
<invalid@dontma ilme.com> wrote:
[color=blue]
> Joe Smith wrote:[color=green]
> > /* test */
> >[/color]
> This is not a complete C program, since there is no declaration for main().
> It will compile as a unit, of course.
>[/color]
Not standardly; the grammar requires at least one external (in the
sense of file scope) declaration or function definition.
Many (most?) compilers I've used will accept it as an extension.
- David.Thompson1 at worldnet.att.ne t
Comment
-
Jordan Abel
Re: /* test */
On 2006-05-04, Dave Thompson <david.thompson 1@worldnet.att. net> wrote:[color=blue]
> On Thu, 27 Apr 2006 19:31:26 +0200, Skarmander
> <invalid@dontma ilme.com> wrote:
>[color=green]
>> Joe Smith wrote:[color=darkred]
>> > /* test */
>> >[/color]
>> This is not a complete C program, since there is no declaration for main().
>> It will compile as a unit, of course.
>>[/color]
> Not standardly; the grammar requires at least one external (in the
> sense of file scope) declaration or function definition.
>
> Many (most?) compilers I've used will accept it as an extension.[/color]
And, regardless, assuming it ends with a newline it is a valid source
file, and can be #include d.
Comment
Comment