Search:

Type: Posts; User: help_desk

Search: Search took 0.07 seconds.

  1. [SOLVED] Re: Copying from one file(source) to another file(destination)

    But how could I do this such that I could represent the 4 in the array with "?" and still use it in the integer array? I don't see this being logically right but I am asking to be sure that I am...
  2. [SOLVED] Re: Copying from one file(source) to another file(destination)

    So, is there no possible way to I could replace an integer value in an integer array to some character like "?" ? I have an array with the values {1,3,2,4} but want it to be {1,3,2,?} . Is this not...
  3. [SOLVED] Re: Copying from one file(source) to another file(destination)

    Hi, ok I will try that . Please, this is just a side note. Imagine I have an array of integers with the following numbers {1,2,3,4} but I want to replace the 4 with ? so that in the end, the array...
  4. [SOLVED] Re: Copying from one file(source) to another file(destination)

    Hello, the problem is a bit strange as there are no errors. The only logical thing is in the method, this line is a suspect:

    br = new BufferedReader(new FileReader(source));

    because when I...
  5. [SOLVED] Re: Copying from one file(source) to another file(destination)

    But why is it false? the source.txt has 4 lines. So, the loop should run atleast 4 times.

    --- Update ---

    I will try this but why is the readline not true?
  6. [SOLVED] Copying from one file(source) to another file(destination)

    Hello, please, I have a file(source.txt) that contains some texts. Now, the java code is to run through each line in the source file and check if that line begins with a number and if true, copy that...
Results 1 to 6 of 6