Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img)
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img)
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
Complex(double real, double img
출처: http://itguru.tistory.com/202 [Programming IT]
출처: http://itguru.tistory.com/202 [Programming IT]
#include <iostream>
using namespace std;
class Complex
{ private:
double real, img;
public:
Complex(double real, double img) : real(real), img(img) {}
클래스 생성자는 알겠는데
: real(real), img(img) {}
이부분은 뭐에요
#include <iostream>
using namespace std;
class Complex
{
private:
double real, img;
public:
Complex(double real, double img) : real(real), img(img) {}
출처: http://itguru.tistory.com/202 [Programming IT]
생성자 변수 초기화
감사합니다
구글에 그걸로 검색해볼게ㅣ요
멤버변수라고 해야 나올듯