Hi everyone,
Hopefully this can be answered easily enough.
Last Thursday I was introduced to libraries, namely stdlib, of;
http://introcs.cs.princeton.edu/java/stdlib/
I downloaded, StdIn.java and StdOut.java, to the folder I was writing the program in. (this was using ubuntu OS, and the terminal)
Then compiled to get the .class file, and I don't think I had to write import or anything in my program.
I am now trying to do this at home on Win10 OS, using NetBeans
IDE,
I have downloaded the library (its in my Downloads folder)
Then right clicked on the libraries tab under the program name, add library, create, created library called "StdLib", added the jar file (added it both to class path and sources)
Then i have written the following code
also tried (import stdlib.jar & import Std.Lib)
but i get a error messages such as
or
Any help greatly appreciated, TIN