An up-and-coming editor is Atom. It is not completely user-friendly yet, but a wonderful polyglot tool (works with multiple programming languages). It was created by the folks at GitHub, so it is very centered on web languages, but works with other languages as well.
Not sure if anyone is going to look at this, but I have an update. I figured out how to list only the facilities the park has available. As of right now, I am able to list the details of all the parks. At this point, I need to make it so it only shows the parks that fits the user's search criteria. I have no idea where to start with this. I'm not sure how to use DatePicker with the dates in the XML file, and I don't know how I am going to match up the facilities. I also have no idea if I need to use an if statement or what. I really have no idea where to start here with the search criteria portion of the program.
Here is my updated code: http://slexy.org/view/s20Btccu41
Any help would be greatly appreciated!
> Note that > > is_prime &= n % i == 0; > > is just shorthand for > > is_prime = is_prime && (n % i == 0);
This is not entirely true. The &&
is short-circuiting, so the second part of the clause might not get called if the first is false
already. The real equivalent of x &= expr
is the eager form of &
: x = x & expr
. Quick demo of this.
Right! I realize now that you actually told me for the first assignment that you were doing C. The structure you linked would definitely work, though it has the issue of using integers as IDs for all vertices. You can either work around that by figuring out a system where your towers/floors/bridges all are integers or changing the graph to be able to use Strings as vertex identifyers.
The Sedgewick site is really amazing. I used that book/site back when I had Introduction to Algorithms and Datastructures and it was really great. I have never truly learned C, but I imagine that it would be much harder than using Java. :P