Vector Intiger Generate

I want to generate array of intigers using the vector class.

Page 1 of 1

1 Replies - 881 Views - Last Post: 10 February 2007 - 09:13 AM Rate Topic: -----

#1 Zammy  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 48
  • Joined: 21-October 06

Vector Intiger Generate

Posted 10 February 2007 - 09:01 AM

I want to generate array of intigers using the vector class.
My "great" COS professor told us to use vectors without telling us how to generate a random one. I need a function to generate a vector with random intigers from 0 to 9999 for example.

Evgeni
Is This A Good Question/Topic? 0
  • +

Replies To: Vector Intiger Generate

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Vector Intiger Generate

Posted 10 February 2007 - 09:13 AM

http://www.cpprefere...nstructors.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1