<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 7, 2016, at 9:38 PM, Natthan Leong via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi there,<div class=""><br class=""></div><div class="">Coming from C++ with std::cin, why isn’t the reading of stdin for Swift a function as <strike class="">easy</strike> <i class="">swift-y</i> as print(_:)?</div></div></div></blockquote><br class=""></div><div>The Swift standard library does provide readLine(), which is the analog for print.</div><div><br class=""></div><div>-Chris</div><br class=""></body></html>