Sure, you can split your declarations/function prototypes into separate header files and then include them in your main program.
Here is a short example
Code:
//Level1.h
void LoadLevel1();
Code:
//Level1.cpp
#include "Level1.h"
#include <iostream>
using std::cout;
using std::endl;
void LoadLevel1()
{
cout << "Level 1 Loaded" << endl;
}
Code:
//main.cpp
#include "Level1.h";
int main()
{
LoadLevel1();
}
This way, you can split your code into several source files and have the main.cpp file nice and short.