Computer Science Canada Tic Tac Toe Program |
| Author: | Azzy [ Wed Jan 19, 2005 7:34 pm ] |
| Post subject: | Tic Tac Toe Program |
I'm making a tic tac toe program and I need to know two things. 1. How do I open a class from another file in the same window? 2. How do I open a class into a new window from another file? |
|
| Author: | Tony [ Thu Jan 20, 2005 9:36 am ] | ||
| Post subject: | |||
that creates a new instance of ClassType |
|||
| Author: | rizzix [ Thu Jan 20, 2005 3:12 pm ] |
| Post subject: | |
what the hell? this is java btw. |
|
| Author: | wtd [ Thu Jan 20, 2005 4:15 pm ] |
| Post subject: | |
Methinks the Ruby and Java parts of Tony's brain are crossed. No import should be required in Java, so long as the class file for your "external" class is in the same directory. |
|
| Author: | Tony [ Thu Jan 20, 2005 5:29 pm ] |
| Post subject: | |
haha, thx guys yeah, too much Ruby, not enough Java... lack of caffee is starting to show a toll but as long as I know what I'm doing, right? the rest is just syntax |
|
| Author: | wtd [ Thu Jan 20, 2005 5:41 pm ] |
| Post subject: | |
tony wrote: haha, thx guys
yeah, too much Ruby, not enough Java... lack of caffee is starting to show a toll but as long as I know what I'm doing, right? the rest is just syntax Don't worry. You can laugh at me when I start writing Java code with C# syntax. |
|
| Author: | Tony [ Fri Jan 21, 2005 9:19 am ] |
| Post subject: | |
wtd wrote: Don't worry. You can laugh at me when I start writing Java code with C# syntax.
hey, I can see that happening this is getting way off topic - you guys want to move this thread into [GP] and rename it into something about confusing syntax? |
|