question about some published code
I am currently through the web materials for a U.C. Berkeley Computer Science class (61B, Data Structures).
One of the solutions for a permutations problem is here. (The problem description is here.)
I can't get the problem solution to run, and I'm wondering if anyone has any ideas. I copied the code solution verbatim into Eclipse. Here are the compile-time errors I get:
-Procedure cannot be resolved to a type (x 7)
-printer cannot be resolved (x 2)
When I try to run it, I get the message: "printer cannot be resolved."
I was wondering if anyone else could get the permutations solution to run, and, if so, how you got it to work (I'm pretty new to Java; it may be very obvious.) Thanks for any help!
One of the solutions for a permutations problem is here. (The problem description is here.)
I can't get the problem solution to run, and I'm wondering if anyone has any ideas. I copied the code solution verbatim into Eclipse. Here are the compile-time errors I get:
-Procedure cannot be resolved to a type (x 7)
-printer cannot be resolved (x 2)
When I try to run it, I get the message: "printer cannot be resolved."
I was wondering if anyone else could get the permutations solution to run, and, if so, how you got it to work (I'm pretty new to Java; it may be very obvious.) Thanks for any help!
