Calling C code from R an introduction Sigal Blay Dept. of Statistics and Actuarial Science Simon Fraser University October 2004.
Chapter 2: Language C++
Learning D - Sample Chapter