../../cxx4/ncGroup.cpp:107:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
delete charName;
^
[]
../../cxx4/ncGroup.cpp:104:21: note: allocated with 'new[]' here
char* charName= new char[lenp+1];
^
../../cxx4/ncGroup.cpp:107:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete charName; ^ [] ../../cxx4/ncGroup.cpp:104:21: note: allocated with 'new[]' here char* charName= new char[lenp+1]; ^