Last active
March 16, 2017 12:36
-
-
Save Ah-da-Coder/cc7299d687b32fc38a3509893e57b7c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ReternC_002_Variable.cpp : コンソール アプリケーションのエントリ ポイントを定義します。 | |
| // | |
| #include "stdafx.h" | |
| int _tmain(int argc, _TCHAR* argv[]) | |
| { | |
| /* 変数 */ | |
| int num; | |
| /* 初期化 */ | |
| num = 1; | |
| /* コンソールに値を表示 */ | |
| printf("%d\r\n", num); | |
| /* 値を代入 */ | |
| num = num + 1; | |
| /* コンソールに演算後の値を表示 */ | |
| printf("%d\r\n", num); | |
| while(1); | |
| return 0; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment