Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

phonebills.cpp example input file

2014-06-10
2014-07-02
  • Isaac Perez
    Isaac Perez
    2014-06-10

    Greetings.

    I just installed the STXXL library on my computer. I use ArchLinux and I install the STXXL library from AUR (Arch Users Repository) using yaourt.

    Well, now I want to make sure everything went well compiling and running a sample program. I read it and want to try the sample program phonebills.cpp (examples/something/phonebills.cpp).

    About this is my question, I understand that the program works with a given input file (argv [1])... Where can I find/download this input file?. The place where is the source code of phonebills.cpp no said anything about it.

    Without this file I can not run the program.

    Thanks in advance for any help and/or suggestions.

     
  • Timo Bingmann
    Timo Bingmann
    2014-06-10

    There is a file phonebills_genlog.cpp in examples/algo.

     
  • Isaac Perez
    Isaac Perez
    2014-06-17

    Thank you.

    When I saw that file, with extension cpp, I thought that this was another example.

    Then I compile and run phonebills_genlog.cpp to generate the input file with which I test the example phonebills.cpp right?

     
  • Timo Bingmann
    Timo Bingmann
    2014-06-17

    Yes.

     
  • Isaac Perez
    Isaac Perez
    2014-06-18

    Thank you for your help.

     
  • Isaac Perez
    Isaac Perez
    2014-06-30

    By the way, is there a way to mark or label a forum topic as "SOLVED"?.

     
  • Timo Bingmann
    Timo Bingmann
    2014-07-02

    Very good question, I have no idea, and can't find an edit button for the topic name.