Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a351b03b4 | ||
|
|
90483a0c71 |
No files matched your search
@@ -1,3 +1,4 @@
|
|||||||
main.d
|
main.d
|
||||||
|
title.d
|
||||||
obj/*
|
obj/*
|
||||||
Shot-Gun-Pete
|
Shot-Gun-Pete
|
||||||
@@ -1 +1,2 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
using namespace std;
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
#include <iostream>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
class Title{
|
||||||
|
private:
|
||||||
|
protected:
|
||||||
|
public:
|
||||||
|
void mainTitle();
|
||||||
|
};
|
||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
#include "include/main.h"
|
#include "include/main.h"
|
||||||
|
#include "include/title.h"
|
||||||
|
|
||||||
int main (){
|
int main (){
|
||||||
|
Title title;
|
||||||
|
title.mainTitle();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
#include "include/title.h"
|
||||||
|
|
||||||
|
|
||||||
|
void Title::mainTitle(){
|
||||||
|
|
||||||
|
cout << "This is the title" << endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user