diff --git a/oef/main.oef b/oef/main.oef
new file mode 100644
index 0000000000000000000000000000000000000000..ce124e46eb90a16206bddae2e8580eacdad97374
--- /dev/null
+++ b/oef/main.oef
@@ -0,0 +1,35 @@
+\title{Affichage d'un programme C++}
+\language{fr}
+\author{Nicolas M. ThiƩry}
+\email{Nicolas.Thiery@u-psud.fr}
+\format{html}
+
+\text{code=
+#include <iostream>
+using namespace std;
+
+int main() {
+    int x = 1+2;
+    if ( x == 3 ); {
+	cout << "Bonjour!" << endl;
+    }
+    cout << "Au revoir." << endl;
+    return 0;
+}
+}
+
+\text{output=
+42
+}
+
+\statement{
+<p>
+Qu'affiche le programme suivant?
+<hr>
+<pre>
+\special{expandlines \code}
+</pre>
+<hr>
+}
+
+\answer{La longueur}{\output}{type=text}