12345678910
#include <iostream> #include "Fructe.h" using namespace std; int main() { Fructe banana; return 0; }
123456789101112
#ifndef FRUCTE_H #define FRUCTE_H class Fructe { public: Fructe(); }; #endif // FRUCTE_H
123456789
#include "Fructe.h" #include <iostream> using namespace std; Fructe::Fructe() { cout<<"I am the Fructe Constructor!"<<endl; }