|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello, Does anyone know how to code that will enlarge the array....
Please help me and thanks for viewing... |
|
#2
|
||||
|
||||
|
Please be more specific. For example, which language? And when you say you want to enlarge the array, do you mean you want to expand it to a given size (if PHP, check out array_pad()) or that you wish to push additional elements onto the end (array_push())?
|
|
#3
|
|||
|
|||
|
Sorry, i forgot to mention that it is C++
and supposed my class has an array of pointer to triangle class: Code:
Triangle *pat[50]; then my function called addTriangle(Triangle *T) will accept the pointer to Triangle and places it inside the array described above...besides i have to enlarge the array... I'm very blur and confused...dont know how to imlement, please help me and show me some hints or idea to solve it.... THANKS! thanks for viewing... |
|
#4
|
||||
|
||||
|
I'm afraid I can't be much help. My C++ is very limited.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > New Problem about array... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|