diff --git a/examples/c++/class.c b/examples/c++/class.cpp similarity index 96% rename from examples/c++/class.c rename to examples/c++/class.cpp index fc575b7..1ed51f7 100644 --- a/examples/c++/class.c +++ b/examples/c++/class.cpp @@ -4,7 +4,7 @@ This trivial Elk extension demonstrates encapsulation of a C++ class in a first-class Scheme type, and encapsulation of member functions in Scheme primitives. -See constructor.c in this directory for compilation instructions. +See constructor.cpp in this directory for compilation instructions. Here is a transcript showing a test run under Linux using the GNU g++ compiler: diff --git a/examples/c++/constructor.c b/examples/c++/constructor.cpp similarity index 100% rename from examples/c++/constructor.c rename to examples/c++/constructor.cpp