Search:

Type: Posts; User: justyStepi

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    1,130

    [SOLVED] Re: Problem with FileWriter

    if(input.startsWith("add"))
    {
    // Call the add method and pass a string array as argument which does not
    // include "add" and has split the remaining...
  2. Replies
    7
    Views
    1,130

    [SOLVED] Re: Problem with FileWriter

    here is the code with FileWriter



    private void add(String[] tokens) throws IOException {

    System.out.println("file : ");

    if(tokens.length < 5)
    {
  3. Replies
    7
    Views
    1,130

    [SOLVED] Re: Problem with FileWriter

    thats the problem,i don't get any error messages :( that's why I'm so confused

    --- Update ---

    Well, i found that there is sth wrong with th scanner. I tried to print out the input but it...
  4. Replies
    7
    Views
    1,130

    [SOLVED] Problem with FileWriter

    Hello i have a question about my code : I'm trying to write a code which would read from command line and then it would create file nd write the input inside:



    ...
Results 1 to 4 of 4