cout

์ฐธ๊ณ ์‚ฌ์ดํŠธ• wikidocs์˜ C++ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๐Ÿ–จ๏ธ cout (์ถœ๋ ฅ)ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด๋งˆ๋‹ค ๋‹ค์–‘ํ•œ ์ถœ๋ ฅ์ด ์กด์žฌํ•œ๋‹ค.print, printf, system.out.print ๋“ฑ๋“ฑ. C++์—์„œ๋Š” ํ‘œ์ค€ ํ—ค๋” ํŒŒ์ผ์—์„œ cout์„ ์‚ฌ์šฉํ•œ๋‹ค. #include int main(){ std::cout  endl(end-line) ์€ ๋ผ์ธ์ด ๋๋‚ฌ์Œ์„ ์•Œ๋ฆฌ๊ณ  ์ค„๋ฐ”๊ฟˆ์„ ํ•œ๋‹ค.  Hello World!Press any key to close this window . . . โŒจ๏ธ cin (์ž…๋ ฅ)c++์—์„œ๋Š” cin์„ ์‚ฌ์šฉํ•˜์—ฌ ์ž…๋ ฅ์ด ์ด๋ฃจ์–ด์ง„๋‹ค.#include //using namespace std;int main(){ std::string word; std::cout > word; // ๋ฒ„ํผ ์ง€์šฐ๊ธฐ std::cin.ignore(..
ma.caron_g
'cout' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก