should i use string or array of chars or char * ????
what are pros and cons in every type??
char is a single character. If you don't need more, why not use this. string is C++ best practices. It's easy to use, stable, dynamic sized, char* is C. It's much more difficult to deal with. It's only useful for raw data blocks (though I would prefer unsignedchar*) and for backwards compatibility with C when making headers.
It's a breach in contract and doesn't work anyway.
By posting in a public setting you agree that your content is visible to the world - you've effectively given up your ability to control who sees your content.
You may remove or change your content but unfortunately for you the internet is forever and there is most likely an archived version of your original content somewhere.
Even if you don't agree with my first point, my second point still holds true. For instance Stewbond quoted just about every part of the original post, and I have saved the thread to my computer so if it is removed I still have a copy.
I've seen a lot of forums where a mod or regular poster immediately quotes the OP to preserve it for posterity. Attempting to erase traces of your question really is a jerk move because you have people being led to the thread due to its title only to find that it's useless. Always pisses me off anyway.
@ stewbond: "Demandy-Pants"??? 8^D I'm definitely stealing that one.
No teacher worth a damn would discourage their student from independent study and/or seeking additional help. In fact tutoring is widely considered common practice.
Teachers only care if you are getting someone to do your work for you. Which wasn't the case in this thread (at least not as far as I can see).
OP could have had his name plastered all over this thread with his code showing and it would have been just fine.
I really cannot see any reason why he would want to delete the thread.
Always pisses me off anyway.
I wouldn't say it pisses me off, so much as it frustrates me. I put time into my responses with the hopes that my answers will help struggling developers with their problems.
To have some punk take my answer, then run away with it all secretly is more frustrating than anything else. It's extremely greedy and ungrateful. It almost makes me not want to bother posting responses.
If the forum supported spoiler tags, we could just quote the OP inside spoiler tags when we reply and people can expand them to see how the post was when we originally responded to it. Maybe we could ask twicker? I doubt spoiler tags are difficult to implement...