J
Joe Smith
/* test */
This is not a complete C program, since there is no declaration for main().Joe said:/* test */
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.
There's enough arguing about semantics here that one could write a testRod 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
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.
Not standardly; the grammar requires at least one external (in theThis 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.
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.