|
|
|
как добавить элемент в вектор
|
|||
|---|---|---|---|
|
#18+
private boolean doAncestors (Person currNode, String name, Vector<Vector<Person>> result ){ if (currNode==null)return false; if( currNode.name== name) return true; if (doAncestors (currNode.vater, name, result)){ result.add( currNode.name); return true; } return false; } програма выдает ошибку при записи в вектор,т.е в строке result.add( currNode.name); Как правильно добавить элемент? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.01.2006, 15:37 |
|
||
|
как добавить элемент в вектор
|
|||
|---|---|---|---|
|
#18+
Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.01.2006, 15:41 |
|
||
|
|

start [/forum/topic.php?fid=59&tid=2150456]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
50ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
| others: | 210ms |
| total: | 350ms |

| 0 / 0 |
