Compact complex submanifolds immersed in complex projective spaces