Topic:   Objects   (Read 46687 times)


0 Members and 1 Guest are viewing this topic.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Objects
« Reply #45 on: September 07, 2011, 08:37:14 AM »
Wait, what's the difference between a sea and an ocean?

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: Objects
« Reply #46 on: September 07, 2011, 12:53:01 PM »
Quote

Well thats an annoying and pointless comparison. Lets compare a sea with an ocean while we're at it, thats just as frustratingly niggly and irrelevant.

If you look at the ASM generated, a struct and a class in C++ is the same thing from a machines point of view.


The comparison was meant to show that structures, and objects are so closely related. That determining a difference is impossible. The only way to distinguish is the declaration, and usage. not very 'niggly' now is it.  8)

P.S. aren't sea and ocean the same thing? Except that most (comparably) smaller bodies of water are seas.
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

x


  • GMG-er

  • **


  • Posts: 247
Re: Objects
« Reply #47 on: September 08, 2011, 12:42:40 AM »
Quote


The comparison was meant to show that structures, and objects are so closely related. That determining a difference is impossible. The only way to distinguish is the declaration, and usage. not very 'niggly' now is it.  8)

P.S. aren't sea and ocean the same thing? Except that most (comparably) smaller bodies of water are seas.


A sea is enclosed by land or something, I think.

Anyways thats my point - who cares? Structures in C++ aren't truly structures, they were just put there so C code is compatible with C++. The difference between a structure and an object is the difference between procedural programming and OOP, blur that line at your own risk.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: Objects
« Reply #48 on: September 08, 2011, 03:03:26 PM »
oh I see we're on the same side  ;D
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

x


  • GMG-er

  • **


  • Posts: 247
Re: Objects
« Reply #49 on: September 09, 2011, 06:24:04 AM »
Quote
oh I see we're on the same side  ;D

Friendly fire....  :P

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: Objects
« Reply #50 on: September 09, 2011, 10:21:51 PM »
lol I almost forgot that phrase  ;D I've only ever heard it in video games
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: Objects
« Reply #51 on: September 10, 2011, 04:00:09 AM »
Yeah, it's a lot of fun. First time I ever played Halo I did it a lot.
Saw something move, trigger the rocket launcher!