I have modify MapCtrl.m to MapCtrl.mm,but xocde5 can not recognize the c++ code,
//MapCtrl.mm
BMKMapPoint* points = new BMKMapPoint[planPointCounts]; delete []points; The error is:
/Users/jinxudong/Documents/在线生成平台/WeiPai/ViewCtrl/MapCtrl.mm:365:35: Use of undeclared identifier 'new' /Users/jinxudong/Documents/在线生成平台/WeiPai/ViewCtrl/MapCtrl.mm:327:3: Use of undeclared identifier 'delete'; did you mean 'undelete'?
.cpp