Search:

Type: Posts; User: Norm

Search: Search took 0.18 seconds.

  1. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    Is the assignment to create a "compression" of some text to valid text that can be placed in a java String and then to write java code that will extract the original text from the contents of that...
  2. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    Putting all the code on one line will save the lineend characters for each line.
  3. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    How are you learning compression by retyping the lines of a program?
  4. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    Seems a big waste of time. What is supposed to be learned in this exercise?
  5. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    You could put all of the text into a single String. Use the line separator character in the String at the places where you want a new line to begin.


    So the total text of the program outside of...
  6. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    I am confused about what the program is doing.
    You said:
    Finally, the unicode is:
    \u0063\u006C...

    Is that the contents of a text file that you are supposed to read and convert...
  7. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    Where is the code that outputs the unicode? Where is the unicode text written? How did you copy and paste here the unicode values shown in your post?

    When I compile and execute the program I get...
Results 1 to 7 of 7