What's wrong with C++ and where does the name sepples comes from anyway? I mean apart from the sometimes fucked up syntax rules.
Name:
Anonymous2014-01-18 22:39
Oh, just about everything.
Here's an easy one: write a program that reads a file and creates some objects of types X and Y, then put those objects in the same container. Now iterate over that container the object is of type X call method A, if the object is of type Y call method B. Now pass that container around make copies of it and the like.
Now in a separate file to where you defined X and Y (or a common supercalass) extend them with a method C.
Here's something a bit harder: Read a file with C++ program text into a string. Now compile that string into a function and call it.
Finally write a function that accepts as its argument another, arbitrary, function (which returns a numerical value), and an argument number (assume the argument is numerical), and returns a function which is that functions derivative with respect to the argument number.