본문을 참고하세요.
[C++] time.h, chrono 헤더 없이 현재 시간 또는 타임스탬프를 출력하기
Visual Studio에서 개발하고 있다면 내장된 매크로를 이용하면 된다.
1 2 3 4 5 6 7 8 9 |
#include <iostream> using std::cout; using std::endl; int main(void) { cout << __TIME__ << endl; cout << __TIMESTAMP__ << endl; } |
WordPress용 프로그래밍 코드 레이아웃(syntax highlighter)인 Crayon Board 설치.
본문을 참고하세요.
Visual Studio 2010 과 C++0x 백서 – Microsoft
C++11에서 새로 추가된 auto, static_assert, RValue reference, lambda, decltype, nullptr에 대해 소개하고 있다.