Hi all, I'm new to
java and I found this site as a great resource among other. Right now I'm having some money troubles so I havent had a chance to go out and get a book to buy or buy driving to the library (might be a good thing to just ride my bike and do.) anyways I'm having a bit of toruble working on a new project. The program takes a number the user inputs in the cmd line and prints the square of it, easy enough right? Well it seems I'm having trouble compiling this with netbeans
IDE 5.5.1
Here is the source of the origional
here is the compile log
init:
deps-jar:
Created dir: C:\Java\testing2\build\classes
Compiling 1 source file to C:\Java\testing2\build\classes
C:\Java\testing2\src\testing2\Main.java:15: cannot find symbol
symbol : variable TextIO
location: class Square
userInput = TextIO.getInt();
1 error
BUILD FAILED (total time: 1 second)
However the tutorial on this required that I use a file for the TextIO class, how would I go about doing this without that?
Thanks for any help
-John-
[ June 28, 2007: Message edited by: John Murray ]
[ June 28, 2007: Message edited by: John Murray ]