Jump to content

TimT

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Was coding a few programs for Project Euler, and strangely enough they got picked up as viruses. They showed up as "Rogue.agent" in the results log. Here's the Source Code of one: (Language is C++) //This program calculates the sum of all multiples of 3 and 5 below 1000#include <iostream>using namespace std;int main() { int sum = 0; for(int num=1; num<1000; num++) { if (num % 3 == 0 || num % 5 == 0) { sum = sum + num; } } cout << "The sum is: " << sum << endl;}And I've attached the executable of it. Apparently, you aren't allowed to attach executable files, so I've uploaded it here: https://www.mediafire.com/?14jptuls28s4odd The compiler I used was CodeBlocks v12.11, not sure if that would have anything to do with it. Anyway, thanks! -Tim
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.