Is cin >> variable considered a software vulnerability? What about forgetting to call delete after new in a program with only a main function? I wrote a program yesterday for learning purposes and now I can't access it. No matter what I do, I can't run the program, delete it, or anything. I have no access whatsoever to the file (even as administrator). I don't know if I'm just paranoid but could this possibly be a backdoor for a hacker? I've been trying for the past 30 minutes to gain my privileges back. I know this is probably the wrong place to ask this but the question about cin >> x was making me nervous.
cin cannot cause allany of those problems.
Your system has been compromised by something else. (Like any software you have downloaded and run, or nefarious sites you may have visited.)
+1 Duoas. To add to this, I would place a small bet suggesting that you've been "compromised" by you Anti-Virus's default settings. You should add your working directory to the exemption list to save yourself headache's like these in the future.
What platform are you on? I guarantee there is someone here that can walk you through gaining permission back on a document/folder. This isn't anything that none of us has gone through ourselves :p.
Sorry Computergeek I left you in the dark after I found out what it was. I was messing around with cheat engine because I had just heard it could attach itself to a process examine it's memory and I was like WOW THAT'S AWESOME! Anyways, what I think happened was cheat engine was attached to it while it was opened. This has happened several times so I now know it's cheat engine. Thanks though!