|
string& s);
bool operator==(const string& s);
string operator+(const string& s);
friend ostream& operator<<(ostream& os, const string& s);
friend istream& operator>>(istream& is, string& s);
}; 11-1. C++ 표준 라이브러리
11-2 표준 string 클래스
11
|
- 페이지 9페이지
- 가격 1,000원
- 등록일 2008.12.30
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
System.out.println(\"Implementation od methodA()\");
}
}
public class AbstractClassTest{
public static void main(String[] args) {
ImpClass obj = new Impclass();
obj.methodA();
obj.methodB();
}
}
7) generic class
- 클래스에 사용할 타입을 디자인시에 지정하는 것이 아니라 클래스를 사용할 때
|
- 페이지 5페이지
- 가격 800원
- 등록일 2009.02.02
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
그 안에 수록된 모든 데이터를 화면상에 출력한다.
참고로 err은 표준 에러 스크랩 을로, 보통 모니터 화면으로 에러 메시지를 출력하는 용도로 사용되는 객체이다. ⑴.파일 생성하기
⑵.파일 읽기
⑶.파일 처리
⑷.1 eof() 함수
|
- 페이지 8페이지
- 가격 1,200원
- 등록일 2014.04.09
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
class identifier>
- indenrifier는 임의의 형을 나타내는 템플레이트의 인자이다. 클래스를 정의하는동안 이 템플레이트 인자는 형으로 사용될 수 있다.
○ stack 템플레이트를 사용하는 함수
// Reversing a series of char* represented strings
void reverse(char* str[]
|
- 페이지 7페이지
- 가격 1,000원
- 등록일 2005.12.03
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
string\\n\";// global valuable
void ELF_print(char *msg){
printf(msg);
}
int main(int argc, char** argv){
char sys_cmd[128];// local valuable
char s2[40] = \"Hi! This is the second string\\n\";
char *s3 = malloc(sizeof(char)*40);// heap영역 잡아줌
sprintf(sys_cmd, \"cat /proc/%d/maps\", getpid());
/
|
- 페이지 16페이지
- 가격 2,000원
- 등록일 2009.04.04
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|