generate negative links for cpp