vector.h question 
Author Message
 vector.h question

vector.h is a template class... we can shoot it string,int,long....but
can we use PAVISTREAM ?

the standard declaration is std::vector<int> temp;

can I do this std::vector<PAVISTREAM> temp; ?

in my program I need PAVISTREAM and I use PAVISTREAM[512], but if I need

more than 512 what I can do ?



Fri, 27 Apr 2001 03:00:00 GMT  
 vector.h question
    Presuming PAVISTREAM meets a few minor requirements (default ctor, copy
ctor, etc), you should have no problem.

--
Truth,
   James [MVP]
http://www.NJTheater.Com       -and-
http://www.NJTheater.Com/JamesCurran

Quote:

>vector.h is a template class... we can shoot it string,int,long....but
>can we use PAVISTREAM ?

begin 666 James M. Curran.vcf


M4DLZ.SLQ."!*;VAN(%-T+"!3=6ET92 R0CM";&]O;69I96QD.TY*.S W,# S
M+34Q-#D-"DQ!0D5,.U=/4DL[14Y#3T1)3D<]455/5$5$+5!224Y404),13HQ
M."!*;VAN(%-T+"!3=6ET92 R0CTP1#TP04)L;V]M9FEE;&0L($Y*(# W,# S
M+34Q-#D-"E523#IH='1P.B\O=W=W+DY*5&AE871E<BYC;VTO2F%M97-#=7)R
M86X-"E523#IH='1P.B\O=W=W+DY*5&AE871E<BYC;VT-"D5-04E,.U!2148[
M24Y415).150Z2F%M97-#=7)R86Y 0V]M<'5397)V92YC;VT-"E)%5CHQ.3DX

`
end


Fri, 27 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Need help with sorting a vector of questions?

2. Simple Vector Template Question

3. VC++ STL vector Syntax question

4. Embedded (Multi)Maps Within Vector (newbie question)

5. vector question when replacing array[10][20] with vectors

6. VECTOR within a VECTOR

7. proper way of refering to pointer of vector to vector

8. Vector of vectors - compiler doesn't understand?

9. How to iterate through a vector of vectors?

10. Vectors Within Vectors

11. vector::pop_back and vector::erase leaking memory?

12. Problem initializing a vector of vectors

 

 
Powered by phpBB® Forum Software