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-11 1:32

>>16
Undefined behavior is what you want in an RNG.

int rand() {
 /* The following number was selected at random */
 return 657;
}

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