I need a little syntax help please ![Smile](images/smilies/smile.png)
some_class some_function
(QString some_string
) {some_class string_collection;
if (some_string.isEmpty()) {
more_strings = new some_class("Warning", "Error", "FooBar");
}
else {
more_strings = new some_class("Warning1", "Error1", "FooBar1");
}
return more_strings; }
some_class some_function(QString some_string) {
some_class string_collection;
if (some_string.isEmpty()) {
more_strings = new some_class("Warning", "Error", "FooBar");
}
else {
more_strings = new some_class("Warning1", "Error1", "FooBar1");
}
return more_strings; }
To copy to clipboard, switch view to plain text mode
I can't compile that ... where is my mistake?
Bookmarks