Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main.cpp
- #include <iostream>
- #include "prova.h"
- using namespace std;
- int main()
- {
- prova bo;
- return 0;
- }
- prova.h
- #ifndef PROVA_H
- #define PROVA_H
- class prova{
- public:
- prova();
- };
- #endif // PROVA_H
- prova.cpp
- #include <iostream>
- #include "prova.h"
- using namespace std;
- prova::prova(){
- cout << "I am a banana" << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement