Given the following is intended to generate C++ code:
#+BEGIN_SRC python :exports both :results output code
print "struct Whatever{};"
#+END_SRC
The result is inserted as follows:
#+RESULTS:
#+BEGIN_SRC python
struct Whatever{};
#+END_SRC
Which is clearly not formatted as C++. How could I get it so that org generates the following:
#+RESULTS:
#+BEGIN_SRC c++
struct Whatever{};
#+END_SRC
Thanks