Monday, May 24, 2010

How a c++ program which does the following?

1. Create a vector of size 1000 and have it store the values:


0.1,1.1,2.1,3.1,.....999.1





1.2 Truncate the vector of size of 5.





1.3 P:rint out how many values the vector is storing(use the vector itself to get this information).





1.4 Empty out the vector so that it stores NO values.

How a c++ program which does the following?
it is better to say:





DO MY HOMEWORK AND I DIDN'T SAY THANK YOU


No comments:

Post a Comment