/* test */

S

Skarmander

Joe said:
/* test */
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.
 
R

Rod Pemberton

Skarmander said:
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.

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
 
A

Andrew Poelstra

Rod said:
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
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.
 
J

Joe Smith

Andrew Poelstra said:
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.

My usenet provider had not enabled posting, and my usenet savvy is less than
stellar. Joe
 
D

Dave Thompson

This is not a complete C program, since there is no declaration for main().
It will compile as a unit, of course.
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.net
 
J

Jordan Abel

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.

And, regardless, assuming it ends with a newline it is a valid source
file, and can be #include d.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top