Compare commits

...

2 Commits

Author SHA1 Message Date
Justin 8a351b03b4 Anding title and fixing 2025-05-04 13:51:00 -05:00
Justin 90483a0c71 Add the title compiled file. 2025-05-04 13:49:25 -05:00
5 changed files with 23 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
main.d main.d
title.d
obj/* obj/*
Shot-Gun-Pete Shot-Gun-Pete

View File

@ -1 +1,2 @@
#include <iostream> #include <iostream>
using namespace std;

9
src/include/title.h Normal file
View File

@ -0,0 +1,9 @@
#include <iostream>
using namespace std;
class Title{
private:
protected:
public:
void mainTitle();
};

View File

@ -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;
} }

9
src/title.cpp Normal file
View File

@ -0,0 +1,9 @@
#include "include/title.h"
void Title::mainTitle(){
cout << "This is the title" << endl;
}