Peter829 / Strayer_CSCI2270_FinalProject

Final Project code
0 stars 1 forks source link

Display Vertices Function #1

Open ghost opened 8 years ago

ghost commented 8 years ago

For some reason the output doesn't seem correct for the "display vertices" function and is missing some characters from names of cities. Also, even after finding the districts, they don't display when you use the display vertices function.

Peter829 commented 8 years ago

Hi,

I am unsure as to what you mean by "doesn't seem correct" for my output during the print vertices operation. However, I added the districts to be printed after the user runs the assign districts function. If one prints the vertices before then, the "-1" will not be displayed.

ghost commented 8 years ago

I'm attaching two pictures, one is when I call print vertices without finding the districts and one is when I call print vertices after finding the districts. As you can see "Portland" turns into "***tland" and other weird things happen. Are you getting the same thing when you run it on your computer?

Adam

On Thursday, April 28, 2016, Peter829 notifications@github.com wrote:

Hi,

I am unsure as to what you mean by "doesn't seem correct" for my output during the print vertices operation. However, I added the districts to be printed after the user runs the assign districts function. If one prints the vertices before then, the "-1" will not be displayed.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Peter829/Strayer_CSCI2270_FinalProject/issues/1#issuecomment-215435506

Peter829 commented 8 years ago

The pictures were not atached to you last post. No, I am not getting these same issues when I test on my computer. Weird. I'll attach my outputs as well. print distric print warshall

ghost commented 8 years ago

Here are the two pictures, I thought I was emailing you but instead I was posting on here and it didnt attach the pictures. I don't know why I am getting different outputs than you, could it just be my computer doing something weird?

Sorry about the confusion, Adam compsci compsci2

bewa4021 commented 8 years ago

I'm getting the same print error on my VM. Were there changes made to the file that weren't uploaded to Git? Thats the first thing that came to my mind.

Peter829 commented 8 years ago

Hmmm, maybe something changes in the txt file when I uploaded it. How does the file that you both have look? I'll post mine here... zombieCities.txt

ghost commented 8 years ago

I just compared that text file to mine and it is the same. And i created a project on codeblocks to run it and it still gives me the same thing...