Was man mit C++ so alles machen kann
-
#include <iostream> class foo { public: foo(int n):num(n){} foo operator[](int i){ std::cout<<i<<std::endl; return i; } foo operator!(){return ++num;} bool operator<(int max) { int b=1; switch(this->num-max) { for(;b<this->num;b++){ switch(this->num%b){ case 0: return !*this<max; default: continue; } default: continue; } return !(*this)[num]<max; case 0: break; } return true; } private: int num; }; int main() { foo a = 2; a<100; }Na, was macht das Programm? Wer weiß es ohne zu kompilieren.
-
Jetzt hab ichs doch kompiliert und es macht [1].
http://geheim.zipzaps.de/Default.aspx <-- echte adresse
*: "ANFANG der verschluesselten Nachricht: auf http://geheim.bermito.de mit dem richtigen Passwort entschluesseln --dxNHYJ15Y2Bvn74yIdXxNQ==--ENDE"
PW ist Lesen
Verkackter Spamschutz!
Aber gutes Mathe training!