Results 1 to 3 of 3

Thread: Multi-line input in JACube.

  1. #1
    Member
    Join Date
    Feb 2007
    Location
    Poznan/Poland
    Posts
    13

    Default Multi-line input in JACube.

    I'd like to generate some bunch of algs in JACube. I can generate the input lines in my script, but I'm new in "system" programing. I don't know how to pass those lines into JACube. I wouldn't to type every line separatly.
    Old C programmers never die. They're just cast into void

  2. #2

    Default

    It's easiest to run JACube from shell/command prompt/whatever you call it. Use < and > to tell it where to read and write. For example this is how I'd do it in Linux:
    Code:
    java -cp ACube3.jar ACube oa < infile > outfile
    I don't know if running Java programs looks different in Windows, but < and > should be exactly the same.

    Another option is to just start ACube and paste all the input lines to it. You can give it many at a time, it will solve all of them one by one, but you'd have to keep an eye on it and save all the results manually.
    Last edited by Johannes91; 09-20-2007 at 09:03 AM.

  3. #3
    Member
    Join Date
    Feb 2007
    Location
    Poznan/Poland
    Posts
    13

    Default

    Heh, It's so simple.

    Thanks a lot. I ran it on my shell, I will look how fast computers we have on university
    Old C programmers never die. They&#39;re just cast into void

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •