Can't fix this error...

I have a problem with my assignment originally it was working, but as I tried breaking the cmd line args into a second class it broke, so I put a method back into my original class, but it's still broken and I can't work out why.
Any help would be appreciated.


error:a2Main.cpp
16.request for member 'chkArgs' in ss, of non-class type StringSort()()
17.request for memner 'runApp' in ss, of non-class type StringSort()()


Edited for security...
Last edited on
a2main.cpp line 5: You are calling constructor in a wrong way:
1
2
3
 
StringSort ss();          // wrong!
StringSort ss;            // good! 
ahh, thanks.. I took out the constructor args, forgot to delete the brackets :P
Last edited on
Topic archived. No new replies allowed.