User Activity

  • Modified a comment on discussion Compiling on Dev-C++

    Dev-C++ version 5.5.2 gives compilation error that occurs in the last line in main(): [Error] 'srand48' was not declared in this scope #include <sys/time.h> #include <cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/*long*/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error]...

  • Modified a comment on discussion Compiling on Dev-C++

    compilation error occurs in the last line in main(): [Error] 'srand48' was not declared in this scope #include <sys/time.h> #include <cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/*long*/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this...

  • Modified a comment on discussion Compiling on Dev-C++

    include <sys time.h=""></sys> include <cmath></cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/long/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this scope return 1; }

  • Modified a comment on discussion Compiling on Dev-C++

    /#include <sys time.h=""></sys> include <cmath></cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/long/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this scope return 1; }

  • Modified a comment on discussion Compiling on Dev-C++

    /#include <sys time.h=""></sys> include <cmath></cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/long/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this scope return 1; }

  • Modified a comment on discussion Compiling on Dev-C++

    /#include <sys time.h=""></sys> include <cmath></cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/long/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this scope return 1; }

  • Modified a comment on discussion Compiling on Dev-C++

    /****/ include <sys time.h=""></sys> include <cmath></cmath> #include <cstdlib> #include <stdlib.h> extern double drand48(); extern long lrand48(/long/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this scope return 1; }

  • Posted a comment on discussion Compiling on Dev-C++

    /****/ include <sys time.h=""></sys> extern double drand48(); extern long lrand48(/long/); extern int rand(); extern void srand(long seedval); //main program main() { //set random number generator struct timeval tp; struct timezone tzp; gettimeofday(&tp,&tzp); srand48(tp.tv_usec); //compilation error occurs here: [Error] 'srand48' was not declared in this scope return 1; }

View All

Personal Data

Username:
ajiten
Joined:
2019-03-24 04:09:20

Projects

  • No projects to display.

Personal Tools