473,796 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Asking if elements in struct arre zero

If I have:

struct one_{
unsigned int one_1;
unsigned short one_2;
unsigned short one_3;
};

struct two_{
unsigned int two_1;
unsigned short two_2;
unsigned char two_3;
};

struct mystruct{
struct one_ one;
struct two_ two;
}mystruct1;

Then could I by any change ask on the value of the whole struct mystruct1,
that is all the elements in the struct in one call? I want to do something
like (in pseudo like language):

if(mystruct1 == 0) { print("All elements of mystruct1 is zero");}
Best Regards
Terry
Nov 13 '05
258 8758
Will you all stop proving my point already? Are you guys 12? Can you come
up with some better insults besides stupid puns and "wart-hog-faced
buffoon"? This has gone from amusing to sad. Maybe I will stop. Just post
some more lame insults, and I'll be both bored and disgusted by your lack of
creativity, and that will end all the posts.

If anyone actually has a decent rebuttal, that relies on logical argument
rather than dogma, and who can come up with some decent insults, please feel
free.

"Roose" <no****@nospam. nospam> wrote in message
news:KW******** ********@newssv r25.news.prodig y.com...
No, on the other hand, this implies that:

1) you failed the test, because you saw the message and hence could not have killfiled me. Although I do commend you for not responding directly to the
troll, it being so witheringly accurate. Bravo!!!

2) rather than obtaining a decent newsreader, you would rather harass the
group with these idiotic messages, claiming you can't make sense of
something that requires no context without lines of quoting. None of my
last few posts requires any quoting, unless you're an idiot.

I'll be happy to continue this exchange as long as you see fit, seeing that I enjoy watching you writhe and post inane comments in order to get the last word -- typical of those with control problems such as yourself.

However, please note that you're an utter hypocrite for complaining about
top-posting while feeding who you consider to be trolls. Which of course is considered even worse netiquette by the Gods of UseNet. I, on the other
hand, recognize that UseNet is a public forum, so people may do as they
wish, including the feeding of trolls like yourself. I know this is bad
behavior, but it is so much fun. I think if I were a bystander it would be pretty hilarious to see someone get their panties in a knot over
top-posting. Not much else in life for you, is there? Get some
perspective, seriously.
"Richard Heathfield" <do******@addre ss.co.uk.invali d> wrote in message
news:bn******** **@sparta.btint ernet.com...
Roose wrote:
So, have you killfiled me yet or not? Do you plan to?


It's impossible to determine, from the (absence of) text above this
sentence, what it actually refers to. We told you about this, remember?

This is a test.


You failed it.

--
Richard Heathfield : bi****@eton.pow ernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton


Nov 13 '05 #41
"Roose" <no****@nospam. nospam> wrote:

<sigh> One more troll feeding himself.
Will you all stop proving my point already? Are you guys 12?
Yes, but in different numerical bases.

<snip>
Maybe I will stop. Just post
some more lame insults, and I'll be both bored and disgusted by your lack of
creativity, and that will end all the posts.
To good a proposal to actually become true.
If anyone actually has a decent rebuttal, that relies on logical argument
rather than dogma, and who can come up with some decent insults, please feel
free.


'Anyone' includes you, I assume. It would be far more convenient for
all if you'd just switch to insulting yourself directly without
polluting usenet with manifestations of your auto-agressive episodes.

Have an adequate day.
--
Irrwahn
(ir*******@free net.de)
Nov 13 '05 #42
Irrwahn Grausewitz wrote:

"Roose" <no****@nospam. nospam> wrote:

<sigh> One more troll feeding himself.
Will you all stop proving my point already? Are you guys 12?


Yes, but in different numerical bases.

It would be better if everyone just ignored him. This is the sort of
troll (as opposed to Trollsdale) that is easy to deal with. A mass
plonking, no replies, his little fun messages drop into the void with
nary a ripple.

Those of us who killfiled him right away would be blissfully unaware of
his screed if others didn't reply to him.


Brian Rodenborn
Nov 13 '05 #43
Answer: Top Posting

Roose wrote:
Which theory? Sort by thread. It doesn't take a genius. Even if I quote
nothing, then you just go to the previous in the thread. There is no
hunting.


The problem with your theory is that this requires that I hunt down the
message that contains the text you are replying to in order for your
post to make any kind of sense. If you want your post to make sense it
should contain enough of the origional for your comment to make sense.
I am not going to back up and read the one before just because you
refuse to be courtious.

--
Noah Roberts
- "If you are not outraged, you are not paying attention."



Question: What is the most annoying thing in Usenet?

BTW, *PLONK* from work also.

Nov 13 '05 #44
On Wed, 29 Oct 2003 02:07:15 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
Are you using a newreader made before 1991? Don't you have an option to
view messages by thread? There is a perfectly serviceable one available for
free called Outlook Express, if you use Windows.
1) please don't top post
2) please don't troll - Outhouse is not a perfectrly serviceable
newsreader, its a massive virus backdoor.
3) my newsreader is perfectly capable of threading, as you presumably
know since someone as supposedly usenet-guruesque as yourself can
presumably read the headers.
What the hell are you talking about infinite disk space? This thread is
only 3 days old, genius.
Do you have the slightest clue how much diskspace even the text-only
newsgroups take up per day? Not to mention the binaries. I'm not
wasting my diskspace storing that.
There is enough context for any of hundreds of messages in any group I read.
I'm happy for you .I however do not keep old messages. I've read them,
why should I keep them.
Plus there's a rule in CLC htat you retain context so that people
don't /have/ to read old messages. Either get with the plot, or get
plonked.
You said you killfiled me already,


No, I killfile you when you start telling people wrong C answers.
Right now you're just an annoying idiot.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #45
On Wed, 29 Oct 2003 02:19:58 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
See the other post -- just use a newsreader where you can group by thread.
1) please don't top post
2) what other post? You need to include some context
3) please learn to snip - you don't seem to need RJH's message below,
so why not snip it?
I find it hilarious that you live in such a regimented, literal-minded world
that you cannot tell that I meant only for top-posting dogmatists to
killfile me.
This is a technical newsgroup. If you want to achieve something, say
it, don't rely on people reading your mind. We don't bring our crystal
balls to usenet.
You must be great to have a conversation with.


So my friends tell me.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #46
On Wed, 29 Oct 2003 06:52:49 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
So, have you killfiled me yet or not? Do you plan to?
who are you talking to? Include some context so that your posts make
sense
This is a test.
please post tests to alt.test.
If not, you're a blithering idiot.
Did I already mention pots and kettles?
Have you noticed that UseNet is public and that comp.lang.c is unmoderated?
Yup.
That means that, sadly, you cannot control it,
Incorrect. It means its self moderating. You're observing this process
in action.
life. It is an interesting exercise to consider the psychological
motivation of why you continue to try.


Nothing psychological, its merely that some of us value standards, and
others don't give a sh*t about behaving politely.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #47
On Wed, 29 Oct 2003 18:09:59 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
If anyone actually has a decent rebuttal, that relies on logical argument
rather than dogma,
We've done that already. But to recap:
1) context is important in technical groups. When responding to a
post, you should include enough context at the relevant point to make
your remarks meaningful. This cannot be achieved by top posting.

2) In order to retain as much sense as possible. posts in technical
groups should be considered conversations. Just as in conversations,
answers go AFTER questions, not before. This allows new joiners to a
thread to read a summary of the arguments so far, and catch up on the
thread, even with less able newsreaders.

3) top posting encourages bandwidth wastage, as there is a tendency
not to snip gratuitous or unneeded material.
and who can come up with some decent insults, please feel
free.


I have lots, but my ISP filters all outbound posts, so I can't call
you a fetid pile of stinking dingo's kidneys, or remark that you look
as though you'd been hung upside down with your head in a bucket of
rancid hyena offal for a week. :-)

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #48
I agree with your points, and that is why I never complain about
bottom-posting. There are valid reasons for bottom posting, which is why I
do it sometimes, as I already said. But there are valid reasons for
top-posting as well, which I already listed. And that is why I get pissed
when people complain about ME top-posting.

The bottom line is that it is personal preference, and UseNet is public, so
I have the right to follow my preference. Just like everyone has the right
to post their f*cking stupid sigs after every goddamn message.

However, I am less pissed now than amused by the fact that I've caused a
collective apoplexy in comp.lang.c, over something as stupid as top-posting.

"Mark McIntyre" <ma**********@s pamcop.net> wrote in message
news:sq******** *************** *********@4ax.c om...
On Wed, 29 Oct 2003 18:09:59 GMT, in comp.lang.c , "Roose"
<no****@nospam. nospam> wrote:
If anyone actually has a decent rebuttal, that relies on logical argument
rather than dogma,


We've done that already. But to recap:
1) context is important in technical groups. When responding to a
post, you should include enough context at the relevant point to make
your remarks meaningful. This cannot be achieved by top posting.

2) In order to retain as much sense as possible. posts in technical
groups should be considered conversations. Just as in conversations,
answers go AFTER questions, not before. This allows new joiners to a
thread to read a summary of the arguments so far, and catch up on the
thread, even with less able newsreaders.

3) top posting encourages bandwidth wastage, as there is a tendency
not to snip gratuitous or unneeded material.

Nov 13 '05 #49
> Do you have the slightest clue how much diskspace even the text-only
newsgroups take up per day? Not to mention the binaries. I'm not
wasting my diskspace storing that.
Well, I looked in my outlook folder, and it's 26 megs, for about 40
newsgroups from two news servers, including a several binary groups. That's
because it only downloads the headers at first.
don't /have/ to read old messages. Either get with the plot, or get
plonked.


THAT'S WHAT I'VE BEEN TELLING YOU TO DO, IDIOT, SO FUCKING DO IT ALREADY. I
already made clear that I'm going to top-post when I feel like it. Notice
that I didn't this time, because there were multiple points to address.
Nov 13 '05 #50

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.