Added and modified some dynamic data examples

Some dynamic data examples (C/C++) has been created and modified (to get a robust output).