27 lines
391 B
C++
27 lines
391 B
C++
#include <iostream>
|
|
#include <stdio.h>
|
|
|
|
// classe test
|
|
class Meow {
|
|
private:
|
|
double m_real;
|
|
double m_imag;
|
|
|
|
public:
|
|
Meow(const Meow &orig):
|
|
{};
|
|
|
|
void stampami();
|
|
|
|
Meow operator+(const Meow &addendo);
|
|
Meow &operator=(const Meow &orig);
|
|
};
|
|
|
|
|
|
int main(int argc, char const *argv[]) {
|
|
std::string gatto = "meow";
|
|
|
|
printf("1 Gatto: %s\n", gatto );
|
|
|
|
|
|
}
|