Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ LIBS

Name: Anonymous 2007-10-10 14:24

Can someone do me a favour and upload ctime.h and cstdlib.h please?

The compiler im forced to use in uni has neither :o and to make matters worse my googlefu is broken, i cant find them anywhere and whenever i seem to find something its BLOCKED on campus.

help me out /prog/

Failing this and to make it seem less like /r/ shit.

how do i make a random number under c++ without either of these libraries?

Name: Anonymous 2007-10-10 17:00

Woah, my uni isnt Ivy league, but even we have none of that OLD SHIT you have to put up with there.

Students commented it was too hard to use Visual Studio? What the fuck, its easier than commandline, get the fuck out of there.

Also, stop being a dick and use mesenne twister.

twist(seed):
seed ^= (seed >> 11);
seed ^= (seed << 7) & 0x9d2c5680U;
seed ^= (seed << 15) & 0xefc60000U;
seed ^= (seed >> 18);
return seed;

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List