Notice
Recent Posts
Recent Comments
Link
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 리트코드
- Level2
- CS
- 백준
- python
- 고득점Kit
- 동적계획법
- javascript
- 리액트
- typescript
- Doitvue.js입문
- OS
- VUE
- 배열
- 프로그래머스
- Level3
- dp
- web
- 파이썬
- C++
- 웹프로그래밍
- react
- Medium
- Level1
- 카카오
- 자바스크립트
- 프로그래밍
- 코테연습
- LeetCode
- sql
Archives
- Today
- Total
[c++] string 인자로 받을때 본문
반응형
class Obj{
protected:
string s
public:
Obj(const string& as){
s = as;
}
};
반응형
'객체지향프로그래밍 (C++)' 카테고리의 다른 글
[c++] 변수의 존속 기간 , 스코프 (duration , scope) (0) | 2020.07.13 |
---|---|
[c++] 예외처리 (0) | 2020.07.13 |
[c++] Virtual Functions (가상 함수) (0) | 2020.07.10 |
[c++] multiple inheritance (다중 상속) (0) | 2020.07.10 |
[c++] inhertitance (상속) (0) | 2020.07.10 |
Comments