More actions
imported>hezmak0913 No edit summary |
imported>hezmak0913 No edit summary |
||
| Line 1: | Line 1: | ||
#include<iostream> | |||
using namespace std; | |||
그리 많이하진 않고 향후 스터디의 방향에 대해서 토론함 | |||
int main(void){ | |||
const int num1 = 1; | |||
/*const*/ int &num2 = num1; | |||
num2+=100; | |||
cout << "num1 : " << num1 << endl; | |||
cout << "num2 : " << num2 << endl; | |||
return 0; | |||
} | |||
* 이날은 그리 많이하진 않고 향후 스터디의 방향에 대해서 토론함 | |||
Latest revision as of 15:34, 21 July 2015
#include<iostream>
using namespace std;
int main(void){
const int num1 = 1;
/*const*/ int &num2 = num1;
num2+=100;
cout << "num1 : " << num1 << endl;
cout << "num2 : " << num2 << endl;
return 0;
}
- 이날은 그리 많이하진 않고 향후 스터디의 방향에 대해서 토론함