what can cause crashed in the Excise 1in cs1102
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 13 楼,当前显示第 12 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:unkown (等级:1 - 微不足道,发帖:541) 发表:2003-02-27 21:13:19  12楼 
No, I use for loop.But I use vector to store linked list.So that I can easily find the path after I add the last point to the node Vector.
may be you can
whenever you want to put a complete path into the vector, check the vector, and decide whether to discard the "path" in the vector(when it is longer than new path) or not put the new path(when it is longer than the path in the vector) into the vector.

Keep the vector as "clean&&tidy" as you can.
Put your OWN COOL signature here!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 13 楼,当前显示第 12 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码