|
-
March 3rd, 2008, 05:12 AM
#4
Re: Initialize an array within a struct
 Originally Posted by slicktacker
I never knew about constructors in structs.
C++ structs are exactly the same as C++ classes, with the tiny difference that the default visibility for struct members is public (private for class members).
More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. --W.A.Wulf
Premature optimization is the root of all evil --Donald E. Knuth
Please read Information on posting before posting, especially the info on using [code] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|