
-----------------------------------
NewHydrolisk
Fri Oct 26, 2007 7:19 pm

Anti-Loopist's Answer to 1+2+3...
-----------------------------------
My fourth project, and the only that works properly (so far).
This is my first project submitted here though.

It simply does a 1+2+3+4...+100 thing, but you can pick the numbers it starts and ends at. Perhaps it is faster than a loop.
It's less than an MB, and the formula used is inside the program.
I don't think bugs are possible...

You need Windows (because I use Windows, but only because of the "system(Pause)" command at the end). Sorry other OS users!

-----------------------------------
md
Fri Oct 26, 2007 8:49 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
No source code? I would recommend no one run this unless source is provided, and even then I'd compile it myself.

-----------------------------------
NewHydrolisk
Fri Oct 26, 2007 9:50 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Oops. Sorry. I'll post

Alright, since this is my first time here (submitting), I wasn't very sure what to put.

In the ZIP, there is a readme with the source code.

By the way, it was written in C++.

-----------------------------------
md
Fri Oct 26, 2007 9:56 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
No problem, I'm just very anti-executables. Mostly since a) they are platform dependent and b) it's super easy to hide a virus in an executable. It's harder in source code.

-----------------------------------
Tony
Sat Oct 27, 2007 1:01 am

Re: Anti-Loopist's Answer to 1+2+3...
-----------------------------------
You need Windows (because I use Windows, but only because of the "system(Pause)" command at the end). Sorry other OS users!
You don't really need system(Pause), do you? :?

-----------------------------------
NewHydrolisk
Sat Oct 27, 2007 7:18 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Well, I used Visual Basic C++, and when I compiled it, the program exited immediately after you entered the first 2 numbers, which sort of drove me off the edge of sanity, and so I bashed it in because of my impatience. (Was trying to find an answer for 2 days...)

-----------------------------------
rdrake
Sat Oct 27, 2007 8:08 pm

Re: RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Well, I used Visual Basic C++Visual C++?

-----------------------------------
Clayton
Sat Oct 27, 2007 10:39 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Whatever happened to just making an executable and executing from the command line? :?

-----------------------------------
wtd
Sat Oct 27, 2007 10:49 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Not enough bling value.  IDEs are the twenty inch chrome rims of the programming world.

-----------------------------------
wtd
Sat Oct 27, 2007 10:51 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Note: I am still not seeing code.

-----------------------------------
Tony
Sat Oct 27, 2007 11:29 pm

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
the chrome is rusty, the program still fires up cmd for the duration of its life. Where's DirectX with the flare effect?!

-----------------------------------
NewHydrolisk
Sun Oct 28, 2007 11:50 am

RE:Anti-Loopist\'s Answer to 1+2+3...
-----------------------------------
Source Code Below:
#include 
using namespace std;

int main()
{
  int b, c;

  cout  d;
  if (a