The isotopic cross sections of residual nuclei produced in fragmentation reactions of 18O projectiles impinging on a carbon target at energies near 260 MeV/nucleon were measured at the HIRFL facility in Lanzhou (China). A full identification of atomic and mass numbers of fragments was achieved from the determination of their magnetic rigidity, energy loss, and time of flight. The production cross sections for a dozen of nitrogen, carbon, and boron isotopes were determined with uncertainties below 30% for most of the cases. The obtained cross sections for N and B isotopes show a rather good agreement with previous experimental data obtained with different projectile energies. The cross sections for some C isotopes seem to exhibit a dependence on the projectile energy. A comparison of the data and several theoretical model calculations are presented.