1
wdDoc.Bookmarks.Add("Имя закладки", wdApp.Selection.Range);
1 2
Line 1: error: expected constructor, destructor, or type conversion before '.' token compilation terminated due to -Wfatal-errors.