Created
June 3, 2014 20:17
-
-
Save monkeydom/77406645910085fbe894 to your computer and use it in GitHub Desktop.
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 Foundation | |
let argumentCount = Int(C_ARGC) | |
var argumentArray: Array<String> = Array<String>() | |
for index in 0..argumentCount { | |
argumentArray.append(String.fromCString(C_ARGV[index])) | |
} | |
println("\(argumentArray)") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment