Search:

Type: Posts; User: redbull

Search: Search took 0.10 seconds.

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

    OK, the assignment is past due and was extra credit. How do I do this? Reduce my program from 930 bytes to under 793 bytes. And most of my program is java string. Last, I cannot import any files into...
  2. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    i am totally lost...

    --- Update ---

    ok, maybe it involves javap -c <class>....
  3. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    how do you do that? He did hint on changing the extension, possibly to a text

    --- Update ---

    No, the program can't take any input. I heard someone else mention something about converting this...
  4. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    that's what I will have to do. I am going to use an external program to get the hex codes for this string, compress that string in hex codes, then bring these hex codes into my program. The...
  5. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    I am counting bytes of the java file. Like suppose I save it to the desktop, I'll right click it, check the properties, and check the size there.

    I cannot pass in any inputs for this. Here's what...
  6. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    ok, I have another idea. I'm going to use an external program to convert string to ascii. Then I am going to copy and paste that into a java program, and compress that ascii code. Will that work? But...
  7. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    ok I just added the "+" at the end of end line, to make it look more readable. But it adds a "+", which are extra characters.

    --- Update ---



    please, this is not the time to be asking these...
  8. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    This is what the teacher said:


    < The total number of characters in the program should be fewer that the total number of characters in the pledge (655 printable, 793 total). Your programs file...
  9. [SOLVED] Re: How to I possibly compress a java string to say byte space?

    how do i undelete? if not, I can repost

    --- Update ---



    <I pledge that every program with my name on it shall be written by me
    (and my co-authors, if any) and that I fully understand the...
  10. [SOLVED] Re: How to I possibly compress a java string to say byte space?

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

    I Delete this
  12. [SOLVED] How to I possibly compress a java string to say byte space?

    [/COLOR]

    <I pledge that every program with my name on it shall be written by me
    (and my co-authors, if any) and that I fully understand the program.
    Every program I submit shall be entirely my...
Results 1 to 12 of 13