Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Problem trying to add a new file each time, without overwriting the previous.

    If you want to write to a new file every time, use the File class's exists()method to determine if there already is a file with the currently chosen name. If there is a file, change the name and...
  2. [SOLVED] Re: Problem trying to add a new file each time, without overwriting the previous.

    For example to use arrays:
    String[] q = new String[10];
    TheAnswerType[] answers = new TheAnswerType[10];

    A new file would be created by generating a new filename before each file is opened.
  3. [SOLVED] Re: Problem trying to add a new file each time, without overwriting the previous.

    Do you know about arrays? This code needs to be rewritten using arrays.

    Also when posting code, Please wrap your code with code tags:


    YOUR CODE HERE

    to get highlighting and preserve...
Results 1 to 3 of 3