#include <iostream>
#include <iomanip>
#include <time.h>
#include <stdlib.h>
/*
from numbers of 1 to max, get nrand random numbers,
each of which is different from others */
void get_random_numbers( int* rnums, int nrand, int max )
{
int i, ir;
int* numbers = new int[max];
if(...
#include <iostream>
using namespace std;
int main(void)
{
char* str = "joom";
*str = 'z';
cout << str << endl;
return 0;
}
/*
for above string manipulation
Borland compilers show no error message
but for the VC++6.0 compiler under visual enviroment,
it has been reported that it makes error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.