I am having trouble importing a class to another one. I am using netbeans, I need to import cisio to Lab10 and for some reason is saying cisio is non existant. cisio compiles and works just fine.
package cisio; import java.io.*; public class Main { static boolean EndOfFile = false; public static void main(String[] args) { EndOfFile = false; } static int GetChar() { int c; try { c = System.in.read(); if (c == -1) EndOfFile = true; return c; } catch (IOException e) { EndOfFile = true; return -1; } } public static boolean eof() { return EndOfFile; } public static String GetLine() { int i; i = GetChar(); String s=""; while (i>0 && i!= '\n') { if(i != '\r') s = s + (char) i; i = GetChar(); } return s; } public static int GetInt() { return Integer.parseInt(GetLine()); } public static double GetDouble() { return Double.parseDouble(GetLine()); } }
package lab10; import cisio.*; /// 2463371 public class Main { public static void main(String[] args) { // TODO code application logic here } }