AC Blog-ish
#9
(29 May 15, 06:34PM)Luc@s Wrote: and why would it be a class, instead of a struct ?
It's an object with member variables/attributes. It has a constructor, and a destructor. It has member functions that operate on it. It sounds like a class. I mean, I get your point -- everything is public, so it's a struct. It just seems like it'd be a lot more readable if it was a class. Especially since a lot of the stuff: scallvoterrr, callvotepacket, scallvote all operate on a passed voteinfo. Why not just have a vote class?
Thanks given by:


Messages In This Thread
AC Blog-ish - by Mousikos - 29 May 15, 12:14AM
RE: AC Blog-ish - by Mousikos - 29 May 15, 06:06AM
RE: AC Blog-ish - by Mousikos - 29 May 15, 08:07AM
RE: AC Blog-ish - by Mr.Floppy - 29 May 15, 09:51AM
RE: AC Blog-ish - by Mousikos - 29 May 15, 11:16AM
RE: AC Blog-ish - by Mr.Floppy - 29 May 15, 11:55AM
RE: AC Blog-ish - by Mousikos - 29 May 15, 06:30PM
RE: AC Blog-ish - by MathiasB - 29 May 15, 06:51PM
RE: AC Blog-ish - by Luc@s - 29 May 15, 06:34PM
RE: AC Blog-ish - by Mousikos - 29 May 15, 06:40PM
RE: AC Blog-ish - by TheNihilanth - 29 May 15, 06:58PM
RE: AC Blog-ish - by Mousikos - 29 May 15, 10:47PM
RE: AC Blog-ish - by MathiasB - 01 Jun 15, 09:28AM
RE: AC Blog-ish - by Mr.Floppy - 01 Jun 15, 11:58AM
RE: AC Blog-ish - by Ronald_Reagan - 29 May 15, 11:20PM
RE: AC Blog-ish - by Mousikos - 29 May 15, 11:27PM
RE: AC Blog-ish - by Mousikos - 31 May 15, 08:26PM
RE: AC Blog-ish - by 1Cap - 01 Jun 15, 01:29PM
RE: AC Blog-ish - by Mousikos - 04 Jun 15, 06:07AM
RE: AC Blog-ish - by MathiasB - 04 Jun 15, 07:37AM
RE: AC Blog-ish - by Thrawn - 04 Jun 15, 11:35PM