Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Dilenger4
  • Content: Threads
  • Order by date
  1. Dilenger4

    Does anyone know how i can set the

    Does anyone know how i can set the size of a character array to the size of a file? The length method in the File class returns a long value representing the number of bytes in the file. So this declaration long[] c = new long[file.length()]; would be the right size when reading Unicode...
  2. Dilenger4

    Hello can anyone answer this questi

    Hello can anyone answer this question for me. Ive been looking over this block of code below. They say that the class defines a method not a constructor since it has a return value. The method happens to have the same name as the class but that is irrelevant. So i have one question. 1.)If...
  3. Dilenger4

    Package Directives?

    Does anyone know how i can use packages to subdivide my .class files? Some reason i can't get it to work. Say if my main directory where my files are stored is C:\Java. If i put package Java; at the top of a file and compile then run i keep getting "NoClassDefFoundError". My CLASSPATH...
  4. Dilenger4

    Unsure of this loop.

    I was looking over an old program that somone had coded and im not sure of this loop. I would ask the person who coded this but i havent seen him in a while. I understand the logic but im not sure of the use of the loop. If an array is constructed with 10 elements ie... int[9] then on the...
  5. Dilenger4

    Segments/Offsets

    First off i just want to say hi to everybody! Im a Java/Visual Basic programmer of 3 years and a always wanted to learn assembly, but im having alittle trouble understanding segments and offsets. At the bottom is a piece of a simple Hello World prog using a86 compiler. The way segments and...

Part and Inventory Search

Back
Top