Advertisement
SVXX

Bus Route DLL main2.cpp

Feb 28th, 2014
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. ...Reading the input file: input2.txt ...
  2. ...Info of the route:
  3. The list of bus stops for Route No. 22:
  4. Stop 1:AsiaWorld-Expo, 22.3196, 113.94
  5. Stop 2:Cathay City, 22.2975, 113.933
  6. Stop 3:Tun Chung Cable Car Terminal, 22.2902, 113.938
  7. Stop 4:Citygate, 22.2897, 113.942
  8. Stop 5:Lantau Link Toll Plaza, 22.3398, 114.043
  9. Stop 6:Chak Yan Centre, 22.3399, 114.169
  10. Stop 7:Shek Kip Mei Park, 22.3393, 114.171
  11. Stop 8:Wong Tai Sin Station, 22.3418, 114.196
  12. Stop 9:Diamond Hill Station, 22.3394, 114.203
  13. Stop 10:Ngau Chi Wan Village, 22.3358, 114.208
  14. Stop 11:Kowloon Bay Station, 22.3251, 114.214
  15. Stop 12:Ngau Tau Kok Station, 22.3156, 114.219
  16. Stop 13:Kwun Tong Town Centre, 22.3136, 114.224
  17. Stop 14:Laguna Plaza, 22.3073, 114.228
  18.  
  19. ...The direct distance of the route is 0.288578
  20. ...The path length of the route is 0.350998
  21.  
  22. ...Searching for the stop "Diamond Hill Station"...
  23. ...The stop is found.
  24. ...The next stop is: Ngau Chi Wan Village
  25. ...The prev stop is: Wong Tai Sin Station
  26.  
  27. ...Inserting the stop "Ka Keung Court"...
  28. ...Info of the updated route:
  29. The list of bus stops for Route No. 22:
  30. Stop 1:AsiaWorld-Expo, 22.3196, 113.94
  31. Stop 2:Cathay City, 22.2975, 113.933
  32. Stop 3:Tun Chung Cable Car Terminal, 22.2902, 113.938
  33. Stop 4:Citygate, 22.2897, 113.942
  34. Stop 5:Lantau Link Toll Plaza, 22.3398, 114.043
  35. Stop 6:Chak Yan Centre, 22.3399, 114.169
  36. Stop 7:Shek Kip Mei Park, 22.3393, 114.171
  37. Stop 8:Ka Keung Court, 22.343, 114.185
  38. Stop 9:Wong Tai Sin Station, 22.3418, 114.196
  39. Stop 10:Diamond Hill Station, 22.3394, 114.203
  40. Stop 11:Ngau Chi Wan Village, 22.3358, 114.208
  41. Stop 12:Kowloon Bay Station, 22.3251, 114.214
  42. Stop 13:Ngau Tau Kok Station, 22.3156, 114.219
  43. Stop 14:Kwun Tong Town Centre, 22.3136, 114.224
  44. Stop 15:Laguna Plaza, 22.3073, 114.228
  45.  
  46. ...Removing the stop "Shek Kip Mei Park"...
  47. ...Info of the updated route:
  48. The list of bus stops for Route No. 22:
  49. Stop 1:AsiaWorld-Expo, 22.3196, 113.94
  50. Stop 2:Cathay City, 22.2975, 113.933
  51. Stop 3:Tun Chung Cable Car Terminal, 22.2902, 113.938
  52. Stop 4:Citygate, 22.2897, 113.942
  53. Stop 5:Lantau Link Toll Plaza, 22.3398, 114.043
  54. Stop 6:Chak Yan Centre, 22.3399, 114.169
  55. Stop 7:Ka Keung Court, 22.343, 114.185
  56. Stop 8:Wong Tai Sin Station, 22.3418, 114.196
  57. Stop 9:Diamond Hill Station, 22.3394, 114.203
  58. Stop 10:Ngau Chi Wan Village, 22.3358, 114.208
  59. Stop 11:Kowloon Bay Station, 22.3251, 114.214
  60. Stop 12:Ngau Tau Kok Station, 22.3156, 114.219
  61. Stop 13:Kwun Tong Town Centre, 22.3136, 114.224
  62. Stop 14:Laguna Plaza, 22.3073, 114.228
  63.  
  64. ...Reversing the route...
  65.  
  66. Program received signal SIGSEGV, Segmentation fault.
  67. 0x000000000040284f in reverseList (route=..., stopA=..., stopB=...)
  68. at busRoute.cpp:316
  69. 316 nonReverseEnd->prev = head;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement