So, say I have something like this:
main.cpp
#include "main.h"
int main() {
displayMessage();
return 0;
}
main.h
#include <stdio.h>
#include <iostream>
display.cpp
#include "display.h"
void displayMessage() {
std::cout << "HELLO!\n";
}
display.h
void displayMessage();
How could I include all of them together without being deeply nested? I just started programming a week ago and trying to start early before college starts this upcoming Fall.