|
-
July 2nd, 2010, 10:25 PM
#4
Re: Weird runtime error
The same thing with the Enigma class. It isn't safely copyable or assignable. Also, why are you using "goto"? That alone could be an automatic candidate for disqualification for anyone looking at your code.
You included <string>, but you make no use of the std::string class. Doing that would alleviate the problems I pointed out. There is no "weirdness", as your thread title suggests, when you have code like this. It just isn't coded correctly and safely.
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|