• Skip to primary navigation
  • Skip to content
  • Skip to footer
Welcome to the development world of chp Welcome to the development world of chp
  • 주제별 학습
  • 최근 글
  • 도서
  • 태그
    1. 홈
    2. 주제별 학습
    3. 프로그래밍 언어
    4. C++
    5. C++: 표준 입출력
    chp

    chp

    99점이 100점이 되기 위해 일을 더하는 개발자

    • South Korea
    • Website
    • GitHub

    C++: 표준 입출력

    최대 1 분 소요

    목차

    • 코드
    • 실행 결과

    레퍼런스 · C++98

    코드

    #include <iostream>
    #include <string>
    
    using namespace std;
    
    int main() {
        int i = 0;
        string s = "";
        cin >> i >> s;
        cout << i << ", " << s << endl;
    
        return 0;
    }
    

    실행 결과

    1 abc
    1, abc
    

    태그: C++, standard input, standard output

    주제: C++

    작성일: 2022-07-02

    공유하기

    X Facebook LinkedIn Bluesky
    이전: C++: 기본 자료형 다음: C++: 파일 입출력

    같은 주제의 글

    • C++: 역사
    • C++: 컴파일
    • C++: Hello, World!
    • Boost: 개요
    C++ 전체 보기
    • 팔로우:
    • GitHub
    © 2013 - 2026 Welcome to the development world of chp. 제작 지원: Jekyll & Minimal Mistakes.