add note about cpp declarition and definitions

A  add note
A  add code
add enum note and unix basic note