0

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'? 
3

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.