this is the code
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void main () {
int b ;
randomize () ;
b = random (61) + 40 ;
printf ("This is b: %d\n", b ) ;
}
These are the errors:
error LNK2019:unresol ved external symbol_random referenced in function_main
error LNK2019:unresol ved external symbol_randomiz e referenced in function_main
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void main () {
int b ;
randomize () ;
b = random (61) + 40 ;
printf ("This is b: %d\n", b ) ;
}
These are the errors:
error LNK2019:unresol ved external symbol_random referenced in function_main
error LNK2019:unresol ved external symbol_randomiz e referenced in function_main
Comment