예제문제 보면서 다시 공부중인데 ㅠㅠ 클래스에 어떤내용을 추가해야 사진처럼 실행결과가 되나요 ?ㅠㅠㅠ include <iostream...
자식클래스에 추가로 멤버변수를추가하지 않고 구현하고 싶어요 ㅠㅠㅠ 한번만 도와주세요 ㅜㅜ include <iostream> include...
자식클래스에 추가로 멤버변수를추가하지 않고 구현하고 싶어요 ㅠㅠㅠ 한번만 도와주세요 ㅜㅜ include <iostream> include...
include <iostream> using namespace std; class Date { int year; int month; int day; public: Date() { year = 0; month = 0; day = 0; } Date(int y, int m, int d)...
include <iostream> include <string> using namespace std; class Date { private: int year; int month; int day; public: Date(); Date(int y, int m, int d); ~Date...
안녕하세요 언어공부중인 고등학생입니다. 풀리지않고 에러만나서 질문올립니다 !! 예제 ) 1 분모 (denominator)와 분자(numerator)로 구성 된 분수 (fraction)...
태그: c언어, c, java, c플플, 씨쁠쁠, 객체지향, 포인터, this, self, reference
생성자와,소멸자,set함수()를 구현하고, 컴파일러가 자동삽입하는디폴트 복사 생성자를 깊은복사 생성자로 대체 하여...
include <iostream> using namespace std; class MyData { public: MyData(int nParam) { m_pnData = new int; *m_pnData = nParam; } ~MyData() { delete m_pnData; } int getData...
include <iostream> include <cstring> using namespace std; class Book { char *title; // 책 제목 int price; // 책 가격 public: Book(char* title, int price); ~Book...
1번문제는 t =0.01,0.02,0.03... 1.00 까지= (저식을 구현하고) 출력값을 txt파일로 출력해주시면 됩니다. (그래프 그릴필요x) 2번문제는 모듈레이션은 그냥 곱하기...