/usr/bin/flex++ is in flex-old 2.5.4a-10ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/flex
/usr/bin/flex