Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fcsohn

    random numbers from a ranged integers

    Thank you very much for your useful adivice, Salem! Turned out OK!
  2. fcsohn

    random numbers from a ranged integers

    #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(...
  3. fcsohn

    String manipulation in vc++

    #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...

Part and Inventory Search

Back
Top