Created
December 25, 2014 08:37
-
-
Save ymurase/403d52128a326bc6b8e3 to your computer and use it in GitHub Desktop.
x10でsystemを呼ぶ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import x10.io.Console; | |
import x10.compiler.Native; | |
public class SystemTest { | |
public static def main(args:Rail[String]) { | |
{ | |
@Native("c++", "system(\"ls\");") {} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment