I am trying to learn ethical hacking and you all are accusing me of being bad person.
And i may not actually go to that field and probably go to game development.But i wont pursue game development now.
I am trying to learn ethical hacking and you all are accusing me of being bad person.
I support your effort to learn and I don't think it makes you a bad person.
However, you've demonstrated that you don't know the difference between a directory and a file, that your grasp of C++ is very basic in nature, that you're unwilling or unable to use search engines, and that you can't even figure out where it's appropriate to post coding questions (hint: it'll be in a forum with the word "programming" in the name,) much less post good questions and certainly using search engines and asking good questions are critical for a person with your interest.
I don't say this to be mean, but you are not ready for viruses or "hacking" at any scale.