title: Automatically generate C++ Source and Header (and update vice versa on changes) files
body: <p>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. </p>
  
  <p>For example if I start doing this:</p>
  
  <pre><code>file: aaa.h
  
  Class AAA {
     int b;
  public:
     void func();
  };
  </code></pre>
  
  <p>something that will automatically create and add:</p>
  
  <pre><code>file: aaa.cpp
  
  void AAA:func() {
  
  }
  </code></pre>
  
  <p>And any changes will appear on both?</p>
  
  <p>Am I just dreaming too much?</p>