Where to Declare Structures, etc?

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-04-05T12:37:41Z Indexed on 2010/04/05 12:43 UTC
Read the original article Hit count: 242

Filed under:
|

Should all structs and classes be declared in the header file? If I declare a struct/class in a source file, what do I need to put in the header file so that it can be used in other files? Also, are there any resources that show some standard practices of C++ out there?

© Stack Overflow or respective owner

Related posts about c++

Related posts about coding-standards