Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo
Dynamic_cast to a pointer type will result in a null pointer if it fails. Dynamic_cast to a reference type will throw std::bad_cast if it fails.Zen wrote:Thanks, that worked. (I thought I had tried it, but must have messed up)
Anyway, doesn't dynamic_cast throw an exception when it fails? I've heard exceptions are slow (?) (not that it matters all that much)
btw: sorry for messing up this thread
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}Corsix wrote:RecursiveS wrote:As I understand it, all the header files will be included into the same virtual world, a number (20) of each animals spawned and then.....MAYHEM!!!!!!
Correct
exomo wrote:I hope my animal(s) will do a good job. But I fear they are killed very fast.
I think there is no breed-restriction yet, so what if my animal accidentaly breeds too much? (I managed to double my animals every round).
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}Corsix wrote:exomo wrote:I hope my animal(s) will do a good job. But I fear they are killed very fast.
I think there is no breed-restriction yet, so what if my animal accidentaly breeds too much? (I managed to double my animals every round).
Breed restriction: None - how can it breed too much?
You can submit upto 5 animals . So you coudl submit 5 or 1 or 2 or 3 or 4.
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}exomo wrote:Too much would be if your computer cant get it any more. My computer takes several minutes for every round at round 40 (so imagine round 1000)
Users browsing this forum: No registered users and 0 guests