Using cout in Swift
Using cout in Swift
cout was an alternative added to C++ for printf. It was to help comply with strict typecast code.
cout << "Hello " << "World"; double version = 6.3;
cout << "Xcode " << version;You can read this article http://swift.oz-apps.com/2015/05/chaining-cout-in-swift-like-c/ on LearnSwift blog for details on how this works and why Swift-cout was created.
cout << "Hello" << "World" var version = 6.3
cout << "Xcode" << versionIf you want to chime in to add the above functionality, please join in.