C/C++ syntax is quite unforgiving for mistakes, and cavemen weren't good abstract thinkers. I think something like a variant of LISP or Forth could be used to teach a cavemen basic programming. Haskell or restricted subset of it, would look like pseudocode and could be more palatable to primitive cavemen
Name:
Anonymous2015-02-22 5:44
>>1 Cavemen don't have developed natural language, so they require language to be symbolic, which leaves only Lisp. Although you would have to replace CAR/CDR with some more appropriate graphemes.
Name:
Anonymous2015-02-22 5:56
>>41 Seems like the BEGINNERS ALL-PURPOSE SYMBOLIC INSTRUCTION CODE would be more appropriate then. They can even use Visual Basic which is 99% drag-and-drop to make it even easier.