logo

Crowdly

Browser

Add to Chrome

Klasa Tocka je zadana sa:  #include <iostream> using namespace std; class ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Klasa Tocka je zadana sa: 

#include <iostream>

using namespace std;

class Tocka {

public:

  double x, y;

  Tocka(); 

  Tocka(const Tocka& t);

};

Tocka::Tocka() { x = y = 0.0; }

Tocka::Tocka(const Tocka& t) { x=t.x; y=t.y; }

Ispravno korištenje kopirnog konstruktora je:

More questions like this

Want instant access to all verified answers on moodle.srce.hr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome