play algorithm

let's play algorithm here, anyone wanna contribute?
hmm... nobody?
algoritm of what?
?

any algorithm of course... you can start from printing an odd numbers in the screen, fibonaci's line, prime numbers, and so forth...
closed account (D80DSL3A)
Your topic may do better in the lounge.

Also, an algorithm is a description of a method for solving a problem - not the specific programming code for doing so (roughly).

See: http://dictionary.reference.com/browse/algorithm:

But I presume you're looking for code here! Sorry for the buzz-kill
OK - I'm bored, so here goes:
1
2
3
4
int N;
cout << "How many odd numbers would you like to see? "; cin >> N;
for(int i=0; i<N; ++i)
    cout << 2*i+1 << " ";
Last edited on
but because we're actually in "here" so i'm just proceed it.
ok next...
chipp, this is a forum to help beginners, not to play games. If you want to learn new algorithms in a sort of game environment, you can try http://www.projecteuler.net - it's a website dedicated to providing problems that require programming and math skills to be solved.
well actually when i say "play" it doesn't mean real "play". it's more to: it's fun, challenging, somethin' like improve skills. somethin' like that. after all, it helpful, right?
Last edited on
Yeah, but that kind of thing IMHO doesn't really belong here... as I understood this part of the forum is mostly for technical questions related to C++, this seems like a topic for the lounge http://cplusplus.com/forum/lounge/ .
Well how about a dynamically changing xor based on filesize.

Then an encryption algorithm based on that which will also swap (seemingly) random characters, also based on filesize?

Oh and base those xors off of a string, and have the value of the key increment by a series of repeating numbers, just to further obfuscate things.

Then create a secure file chat application, based off that algorithm.

Go buy a server, get some good upload speed.

...

(?)

...



Profit?
i guess it's out of my (skill) range, anyone?
You can read my new article on encryption:

http://cplusplus.com/forum/articles/38516/
Topic archived. No new replies allowed.