time for another contest, everyone can compete in this one,
there are only a few rules, everything else is left to your
interupretation.
1. C++ (strings instead of char's etc. etc.)
2. Use standard code and good indention.
Thats it, not to hard.
CONTEST #1
i want you to create a program that allows, only people
with a right password to access data that already stored
in the program.
you should have 3 strings, that already have data declared
within them, such as
now this data will not be in a readable format,Code:string string1 = "important information1"; string string2 = "important information2"; string string3 = "important information3";
so that noone, looking at source or any other format
should know what is contained in the strings.
Code:string string1 = "asdgfafgafhae5ry4yaert"; string string2 = "d098g690a9d0f8g89aks"; string string3 = "asd08ga7890s08a894km";
which would be some kind of complex encryption,
now you must recieve a password from the user to
unlock this data, and the password should not
be retrieveable simply by looking at the source,
there should be a password for each individual string
and based on the password entered one of the strings
should be displayed in a meaningful form.
CONTEST #2
for those not so confident the following is a contest for you
the same rules as above apply.
parse a c++ source file, and turn it into a color coded
html file, with the following
these words should be colored blue :
for, while, if, else, int, char, string, #include, return
the following should be colored red :
any words withing "" (quotes) ie being a string
that it that the only ones you need to color.
an example of the output of this program is as follows
Code:#include <iostream> using namespace std; int main() { for(int i = 0; i != 256; i++) { cout << char(i) << endl; } cout << "Done!" << endl; cin.get(); return 0; }
CONTEST #3
last but not least, write a program capable
of decrypting the following
knowing that the key isCode:1KOPOBYLe\`R !"#1JMMK=SE]SVG
and that the original word isCode:cboardprogramming
this one is by far the hardest contest and i doubt many of youCode:Introduction
will attempt that but id love to see entries from
salem, qazah, and prelude.



LinkBack URL
About LinkBacks


