On Thu, Jun 03, 2010 at 04:58:49PM +0200, Per Jessen wrote:
Petr Baudis wrote:
On Thu, Jun 03, 2010 at 04:23:59PM +0200, Per Jessen wrote:
your struct becomes a class
You can keep it a struct...
But can you have constructors for a struct?
In C++, struct is just like a class, except that the default visibility is public.
Petr "Pasky" Baudis