actually, the code would compile and run as written, if "thename" was actually defined. the effect would be to create a new temporary "myClass" object, and immediately destroy it.
Type: Posts; User: Elkvis
actually, the code would compile and run as written, if "thename" was actually defined. the effect would be to create a new temporary "myClass" object, and immediately destroy it.
at this point your code doesn't even compile. check your variable names in main.
also, how much more explicit do you need it? salem literally gave you the line of code you need.