Search found 4 matches
- Fri Jan 04, 2013 7:41 am
- Forum: Programming Discussion
- Topic: How do you name your classes and structure your project
- Replies: 13
- Views: 5953
Re: How do you name your classes and structure your project
Ok, so it's better to have naked code than. I can live with that, since it really gives me readability. What about the file names, though? Do you name your files exactly as the class names inside them? Do you have more than one class declared inside a file? I noticed on one of the elysianshadows.com...
- Thu Dec 27, 2012 6:11 pm
- Forum: Programming Discussion
- Topic: How do you name your classes and structure your project
- Replies: 13
- Views: 5953
Re: How do you name your classes and structure your project
Thanks for your answer.TheBuzzSaw wrote:You should have the same namespace nesting in your CPP file as you have in your header file.
Now, can you tell me why?
- Thu Dec 27, 2012 7:08 am
- Forum: Programming Discussion
- Topic: How do you name your classes and structure your project
- Replies: 13
- Views: 5953
Re: How do you name your classes and structure your project
Thanks for your answer, bro. When it comes to project organization, I'm kind of a freak. My project's namespaces are following a convention like COMPANYNAME::PRODUCTNAME::CLASS. That helps me visualize the project's source files from a different perspective. I have one question about that, though. M...
- Wed Dec 26, 2012 4:07 pm
- Forum: Programming Discussion
- Topic: How do you name your classes and structure your project
- Replies: 13
- Views: 5953
How do you name your classes and structure your project
Hey guys, how are you all doing. I just wanted to ask you all a question that kills me every time I start out a new project: naming conventions, project structuring and organization. When it comes to the main loop and the main window of the game, do you wrap it into a class? How do you call that? Or...