Mancho wrote:People who think structs and classes are the same thing...
structs and classes are the same thing. The only difference is that struct defaults to using the public modifier and class defaults to using the private modifier.
Moderators: phlip, Moderators General, Prelates
Mancho wrote:People who think structs and classes are the same thing...
Rysto wrote:Mancho wrote:People who think structs and classes are the same thing...
structs and classes are the same thing. The only difference is that struct defaults to using the public modifier and class defaults to using the private modifier.
Mancho wrote:Wrong place for this, so I'll be brief. The other difference being that members of structs occupy concurrent memory, so they could be accessed as a memory space. This has particular benefits in embedded applications.
Mancho wrote:superglucose wrote:People who assume that because you don't use the same technical terms as you means you don't understand what they're talking about. I had a guy talking at me for an hour about structs and how I was a total dipshit for not using them. Then I went and asked a friend who'd coded in Java and C about structs, and he said, "Oh yeah, they're essentially classes." All of a sudden it ALL MADE SENSE!
People who think structs and classes are the same thing...
Couldn't resist. Seriously though, when I first used visual studio and found out that MS made classes and structs the same (I had been away from C for a while), I felt like throwing a fit. Actually, I pretty much did throw a fit. They have completely different uses. Its stupid.
It Should Be Real wrote:Fuck the wizard.
We're doing this manually.
GENERATION 63,728,127: The first time you see this, copy it into your sig and divide the generation number by 2 if it's even, or multiply it by 3 then add 1 if it's odd. Social experiment.clintonius wrote:"You like that, RIAA? Yeah, the law burns, doesn't it?"
photosinensis wrote:I hate it when people hear that I'm studying computer science and immediately ask me if I'll teach them how to pwn other people's boxen. Yes, I know how to do so. No, I won't teach you. It would be unethical.
Thadlerian wrote:Or in Windows XP, the add/remove programs list taking forever (OK, not forever, but with new computers you're used to things moving fast) to "populate" because Windows needs to calculate how often you use your programs. According to Windows, I rarely ever use any program.
Or the screensaver that by default logs halfway out when you return to your computer. Really great if you share the computer with others, and someone else is logged on - someone whose password you don't know - and you don't want to shut down or reboot the thing because it says they have programs running.
EvanED wrote:Um, so turn it off. It's not on by default anyway. And if you use default settings in XP (or, I assume, Vista), you'll get the switch users dialog where someone else can log in. In other words, you have to change not one but two options before the problem you describe surfaces.
That feature is incredibly useful.
Thadlerian wrote:EvanED wrote:Um, so turn it off. It's not on by default anyway. And if you use default settings in XP (or, I assume, Vista), you'll get the switch users dialog where someone else can log in. In other words, you have to change not one but two options before the problem you describe surfaces.
That feature is incredibly useful.
That was what I was trying to communicate, ineffectively. The switch users dialog - you have to give the password to get back into the user that was logged on when the screen saver started.
EvanED wrote:XP includes the Fast User Switching feature which allows one person to get up, choose start -> logout -> switch user or something like that, and someone else can log in. The first person's programs continue running.
phlip wrote:Ha HA! Recycled emacs jokes.

Robin S wrote:In forums, the manual addition of a fixed line of text to the bottom of every post, despite there being a signature option in the User Control Panel. Worse still, the manual addition of such a fixed line of text in addition to an actual signature.
poxic wrote:Windows ... necessary evil
Thadlerian wrote:Like hiding all those scary file endings.
GENERATION n: The first time you see this, copy it into your sig on any forum. If n is an even number, divide it by 2. If it's odd, multiply it by 3 and add 1. Prove that this sequence converges to 1 for all n.Felltir wrote:has no sig, and therefore something to hide
I hate grey anything too. If I want to do something, let me do that!mat-tina wrote:Thadlerian wrote:That's another pet peeve of mine: checkboxes. And grey!
Noughmad wrote:poxic wrote:Windows ... necessary evil
People who are annoyed by Windows yet refuse to use anything else.
I did (well, only after posting, but I still did). It wasn't meant to be personal, though. I know several people with that attitude, who have the option but prefer to complain, and not only about OSes.Endless Mike wrote:Did you consider that he may not have a choice at work, and uses it at home for data portability or that there may be some work program he has to use that has no alternative? There's many very good reasons to use Windows over other OSes. Ignoring that, he's talking about using other people's computers, and personally, I would be rather annoyed if someone logged into my computer and decided to install a different OS because they didn't like my choice.
Endless Mike wrote:Did you consider that she may not have a choice at work
Noughmad wrote:I did (well, only after posting, but I still did). It wasn't meant to be personal, though.
Robin S wrote:In forums, the manual addition of a fixed line of text to the bottom of every post, despite there being a signature option in the User Control Panel. Worse still, the manual addition of such a fixed line of text in addition to an actual signature.
The Hyphenator wrote:Robin S wrote:In forums, the manual addition of a fixed line of text to the bottom of every post, despite there being a signature option in the User Control Panel. Worse still, the manual addition of such a fixed line of text in addition to an actual signature.
Thirded. This kills me a little bit inside every time I see that.
Xanthir wrote:I think I have to fourth this.
rei wrote:
Overly pedantic grammer nazis. Understood that w shud not be tlking laik ths, however smaller infractions should be ignored if only to promote good discussion over being pedantic. Sure if you manage to not derail the entire discussion with your correction go ahead, but if there's a legitimate group discussion happening you don't need to cut it off to point out that this is a rediculous run-on sentance or the fact that there is no a in sentence.
rei wrote:That I was. I'm tempted to add IE6 to my list, but who in their right mind other than my employer uses that?
Users browsing this forum: brenok and 2 guests