Anding title and fixing

This commit is contained in:
Justin 2025-05-04 13:51:00 -05:00
parent 90483a0c71
commit 8a351b03b4
4 changed files with 22 additions and 1 deletions

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