Ready to Program with Working Generics?
Author |
Message |
facultyofmusic
|
Posted: Thu Jan 21, 2010 9:00 pm Post subject: Ready to Program with Working Generics? |
|
|
Ready to Program isn't that great, but for contests like DWITE, RTP is a perfect program. Except for one down fall, that it only goes up to java version 1.4.
So I'm trying to make ready work with Java 1.6. I've replaced the libraries of 1.4 with contents of 1.6, and things like PriorityQueues are recognized (although not highlighted during syntax highlighting). The reasom why I wanted Java 1.6 was for it's Collections, and I'm very frustrated now because even though the Collections are recognized amd can be used, they can't be used with generics. Because everytime I tryed to do something like this:
Java: | ArrayList <Object> list = new ArrayList <Object> (); |
It gives me an error-message saying "invalid AssignmentOperator".
How can I bypass this? And just asking, has anyone already got a version of ready that works fully with Java 1.6? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
TerranceN
|
Posted: Thu Jan 21, 2010 9:27 pm Post subject: RE:Ready to Program with Working Generics? |
|
|
I don't think you can bypass this as it is built into RTP, and RTP is no longer being developed, the last version uses 1.4.2 (afaik). But if you want to use something simple, you could always use notepad++ for writing code and a batch file for compiling and running. |
|
|
|
|
|
facultyofmusic
|
Posted: Fri Mar 12, 2010 6:04 pm Post subject: Re: Ready to Program with Working Generics? |
|
|
Just wondering, has anyone ever gave it a thought on remaking Ready to program? I've actually gave it a few thoughts and it doesn't seem very hard... lol... guess I know my next project |
|
|
|
|
|
chrisbrown
|
Posted: Fri Mar 12, 2010 6:41 pm Post subject: RE:Ready to Program with Working Generics? |
|
|
Why reinvent the wheel? Check out Eclipse, it takes a bit of time to get tha hang of it, but it has everything you're looking for and more.
Writing an IDE from scratch is going to be a little trickier than you might anticipate. |
|
|
|
|
|
TheGuardian001
|
Posted: Fri Mar 12, 2010 6:43 pm Post subject: Re: Ready to Program with Working Generics? |
|
|
Or, if you must reinvent the wheel, why model it after a triangle. |
|
|
|
|
|
Dan
|
Posted: Fri Mar 12, 2010 7:29 pm Post subject: RE:Ready to Program with Working Generics? |
|
|
RTP is just a realy bad java IDE plus some custom clases. You can easly just copy the holtsoft package to your class path and use any IDE you like.
The DWITE judge for example does not have a copy of the RTP IDE and just has the holtsoft package on the class path, so in theroy you could use collections with RTP for DWITE. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
BigBear
|
Posted: Fri Mar 12, 2010 8:32 pm Post subject: RE:Ready to Program with Working Generics? |
|
|
Why is RTP good for contests like DWITE? |
|
|
|
|
|
|
|