You forgot a semicolon after class declaration.
thx, was a little blind
stupid question but how do i create an object of my class and then call the constructor?
i tried:
Qt Code:
int main(int argc, char *argv[]) { acting_class ac = new acting_class(); return a.exec(); }To copy to clipboard, switch view to plain text mode
but that actually won't work, and what's about the * is it like in #c a pointer?
best regards
tobi
Last edited by T0bi4s; 26th November 2009 at 17:13.
acting_class *ac = new acting_class();
T0bi4s (26th November 2009)
Bookmarks