![]() |
Omg!
What is right with this piece of code!
:
class CustomizeDialog : |
I'm assuming you mean what is wrong. And I think it's the semicolon at the very end after the parentheses. Unless I'm mistaken.
|
There is nothing wrong with that code at all. The following compiles fine with GCC 4.1 and all warnings cranked up.
:
|
The problem is with your post, rsnd; it's shitty. Use a meaningful subject line. Show enough definitions that someone can assess your code. As you see, GameEnder made some assumptions, added some definitions, and got the code to compile. Give the content of your error messages. Indicate what line or statement triggered them.
At 117 posts, and having read the rules and a "How to Post a Question" thread (you have done that, right?), this just shows an infantile approach. This is not ProgrammingKindergarten.org. |
DaWei is still mean to me =(
Dont you at least think that there is something wrong there with classes inside classes and function declarations =( I must be getting old |
Hell, I don't cater to kids acting stupid, much less adults. If that's mean, go whine to mama.
If you meant to ask if classes can be nested, why didn't you just ask (or try a simple example out in your compiler). Even if you've read the rules, I recommend you go to them again and click on that "Smart questions" link. |
yeah, you can nest classes...you can do all types of weird shit.
|
Quote:
|
Quote:
|
| All times are GMT -5. The time now is 1:20 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC