Removed eclipse error warnings in cpp's