No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I get an unknown source error when I try to use the Scanner class. fabric is the name of my Scanner ojbect. while(fabric.hasNext()) { fabricID[fabricCounter] = fabric.nextInt(); name[fabricCounter] = fabric.next(); description[fabricCounter] = fabric.next(); price[fabricCounter] = fabric.nextDouble(); qty[fabricCounter] = fabric.nextInt(); vendor[fabricCounter] = fabric.next(); fabricCounter++; System.out.println("made it down here"); }//end while fabric.close(); … |
|
Making a command line interpreter for my Operating systems class The following line is giving me a problem if (strcmp(argv[0], "ren") == 0) { return RENAME; } For whatever reason it does not return anything. However if I change "ren" to "darrel" it returns the proper value of RENAME and … |
|
I am looking for help in completing my final due this friday... I need to program my mover to clear the grid using recursion. For some reason, when going counter clockwise when he gets back to the top row he stops. All of my conditions for movement are showing as … |
|
I am trying to read a textfield. I am using the string=textfield.getText() notion, but all I get a is a blank string back. I am using netbeans and I am using the gui designer within it. I want to hit the "create grid" button and have it create a grid … |