C++/문법
C++ 정수형
정수형 출처 : https://en.cppreference.com/w/ cppreference.com Null-terminated strings: byte − multibyte − wide en.cppreference.com Integer 32bit, 64bit 더보기 #include #include #define NOMINMAX using namespace std; // namespace 사용시 std 생략 가능하다. int main() { //// 변수 - 변하는 수 //// int x ;- 자료형 변수이름 세미콜론 //int x, y, z; //x = 1; //y = 2; //z = 3; ////int x(1), y(2), z = 3; // ()로 초기화도 가능하다. // 기본 줄바꿈 출력 //st..
2020. 7. 17. 18:05
최근댓글