Here is my C code in an Objective-C method
char addressBuffer[100];
But how to define this char in Swift language?
I try something like this but this doesn't work:
var addressBuffer : CChar(100)
Here is the documentation https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/buildingcocoaapps/InteractingWithCAPIs.html
Stringinstead. If you need achar[100], you should use the C language instead. I don't see a reason for Swift-Code to use achar[100]type