diff --git a/beat/web/algorithms/templates/algorithms/edition.html b/beat/web/algorithms/templates/algorithms/edition.html
index 91ebf64c877a613bcfb73ead50347cf1b1871144..4b6528cd186e778a31522ca19f4f3eb3ea89e12c 100644
--- a/beat/web/algorithms/templates/algorithms/edition.html
+++ b/beat/web/algorithms/templates/algorithms/edition.html
@@ -288,7 +288,8 @@ function setupEditor(algorithm, dataformats, libraries)
     };
 
 {% if not binary %}
-    data.code = source_code_editor.getSourceCode();
+    if (declaration.language != 'cxx')
+        data.code = source_code_editor.getSourceCode();
 {% endif %}