명품 C++ programming 11장 실습문제 11번


명품 C++ programming 11장 실습문제 11번

문제 다음은 프로그램과 실행 결과를 보여준다. pos 조작자를 작성하라. 123456789#include <iostream>using namespace std; int main() { int x, y; cin >> pos >> x; cin >> pos >> y; cout << x << ',' << y << endl;} 실행 결과 : #include <iostream> using namespace std;istream& pos(istream& in) { cout << "위치는? "; return in;}int main() { int x, y; cin >> pos >> x; cin >> pos >> y; cout << x << ',' << y << endl;}...



원문링크 : 명품 C++ programming 11장 실습문제 11번