![]() |
|
#1
|
|||
|
|||
newbie needs help with vectorsBasically, I am trying to define a data type that is a vector of vectors. My attempt at it looks something like this:
CPP / C++ / C Code:
Please note that GLint, GLfloat, etc. are just ints and floats that are used by OpenGL. and should be interchangable with int and float for this code sniplet. Anyway, when I try to complie this, I get an error on my last listed line saying that 'size' is not a member of 'BlockedSolidGroup.' But if I understand my code correctly, blocked_space.all_blocked_space[solid_group] should refer to a vector and should be able to be sized. So obviously I am missing something here. Thanks for any assiatance. Curtis Last edited by dsmith : 01-Dec-2004 at 07:28.
Reason: Please use [c] & [/c] for syntax highlighting
|
|||
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C++ Vectors | Katie | C++ Forum | 5 | 18-May-2004 00:36 |
| linked lists, newbie needs help | moltarim | C Programming Language | 4 | 06-May-2004 12:32 |
| Declaring a vector of vectors? | Lethal411 | C++ Forum | 2 | 20-Mar-2004 10:02 |
| newbie using Sam's series | Skampy | C++ Forum | 3 | 06-Mar-2004 19:51 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The