Search:

Type: Posts; User: Subsonics

Search: Search took 0.08 seconds.

  1. If you have a.out and two files called file1.txt...

    If you have a.out and two files called file1.txt and file2.txt in your current directory, (confirm by ls as suggested by mk27). Then this should work:



    ./a.out file1.txt file2.txt


    This...
  2. So, it looks like your first file is not valid,...

    So, it looks like your first file is not valid, you can confirm this by doing:



    echo $?


    after you have tried the program since you return unique numbers on each test.

    Could be anything...
Results 1 to 2 of 2