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 15:07

>>3
Also, to be constructive. The C++ standard library does not contain files named ``ctime.h'' or ``cstdio.h''. It looks like you're referring either to ``ctime'' and ``cstdio'' or ``time.h'' and ``stdio.h''. So either change your broken code to

#include <ctime>
#include <cstdio>


For C++, or

#include <time.h>
#include <stdio.h>


For C (or fucked up backwards C++).

As a final note, you're on the wrong path to reaching Satori.

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