Is there some tool (hopefully emacs) that can update and add the correct function definitions and other things to keep the source (.cpp) and the header (.h) files synchronized.
For example if I start doing this:
file: aaa.h
Class AAA {
int b;
public:
void func();
};
something that will automatically create and add:
file: aaa.cpp
void AAA:func() {
}
And any changes will appear on both?
Am I just dreaming too much?
An almost duplicate question was asked here and my answer describes the tool that we use to go from a single file to separate header and source files: lzz.
I don't know of any tool that can do the reverse translation.
Visual Studio + Visual Assist X does it (see Refactoring features).
But indeed, it's not emacs based :/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With