tcoffeep Posted February 23, 2009 Share Posted February 23, 2009 so, i'm learning to use C, and am following the instructions from the Thinking in C cd by Bruce Eckel and Chuck Allison, and I wrote a small program which consists of this : include <stdio.h>int main(){ int osum = 0; int esum = 0; int n; scanf("\n%d", n); if(n % 2 == 0) {esum += n; } else {osum += n; } scanf("\n%d", n); if(n % 2 == 0) {esum += n; } else {osum += n; } scanf("\n%d", n); if(n % 2 == 0) {esum += n; } else {osum += n; } printf("\nSum of Even Numbers : %d", esum); printf("\nSum of Odd Numbers : %d", osum); return 0;} Upon running my program, Windows Vista decides it will close it. It's reasoning... This program is a vile malware!!!!1 To be specific : Trojan.PWS.Legmir.AD / W32.Ahlem.A@mm Is there any way to tone down the security? It isn't exactly comforting to know that microsoft is hatin' on me! Fantasy is the celebration of what we no longer are: individuals certain of our meaningfulness in a meaningful world. The wish-fulfillment that distinguishes fantasy from other genres is not to be the all-conquering hero, but to live in a meaningful world. The fact that such worlds are enchanted worlds, worlds steeped in magic, simply demonstrates the severity of our contemporary crisis.Scott R. Bakker, Why Fantasy and Why Now? RPG Codex - Putting the 'Role' back in RPG. The Age of Decadence - A game everyone should look forward to. Link to comment Share on other sites More sharing options...
YoKenny Posted February 23, 2009 Share Posted February 23, 2009 The following forum might be of help: C++ Learning Community Forum http://www.cpplc.net/forum "Education is what remains after one has forgotten everything he learned in school." - Albert Einstein IE7Pro user Link to comment Share on other sites More sharing options...
tcoffeep Posted February 24, 2009 Author Share Posted February 24, 2009 The following forum might be of help: C++ Learning Community Forum http://www.cpplc.net/forum My question is about C++ ( nor is it about C ), but about toning down the Windows security so I can actually figure out what's wrong with my code, rather than having Windows shut it down. Fantasy is the celebration of what we no longer are: individuals certain of our meaningfulness in a meaningful world. The wish-fulfillment that distinguishes fantasy from other genres is not to be the all-conquering hero, but to live in a meaningful world. The fact that such worlds are enchanted worlds, worlds steeped in magic, simply demonstrates the severity of our contemporary crisis.Scott R. Bakker, Why Fantasy and Why Now? RPG Codex - Putting the 'Role' back in RPG. The Age of Decadence - A game everyone should look forward to. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now