I am working on a project in C++, and I have a big CPP file with several functions in it. I am actually working on splitting all these functions into smaller cpp files to make it more readable. I was wondering if this process had actually a name? I was thinking about calling it "Refactoring", but this process seems more complicated than my "little" work.
This is a simple example of what I am doing:
Coming from FileA.cpp:
extern "C"
{
namespace foo
{
functionA()
{
//Some Code
}
functionB()
{
//Some Code
}
.
.
.
functionZ()
{
// Some Code
}
}
}
To FileB.cpp
extern "C"
{
namespace foo
{
functionA()
{
// Some Code
}
functionB()
{
// Some Code
}
}
}
FileC.cpp
extern "C"
{
namespace foo
{
functionC()
{
// Some Code
}
functionD()
{
// Some Code
}
}
}
etc.