Skip to main content
Grammar, updated outdated link, formatting
Source Link
Andreas Bonini
  • 45k
  • 31
  • 126
  • 158

youYou have to make sure you take care of file names with more then one dot. example: "c:\.directoryname\file.name.with.too.many.dots.ext"c:\.directoryname\file.name.with.too.many.dots.ext would not be handled correctly by strchrstrchr or find.find.

My favorite would be the boost filesystem libraryboost filesystem library that have an extension(path) function (library reference here)

you have to make sure you take care of file names with more then one dot. example: "c:\.directoryname\file.name.with.too.many.dots.ext" would not be handled correctly by strchr or find.

My favorite would be the boost filesystem library that have an extension(path) function (library reference here)

You have to make sure you take care of file names with more then one dot. example: c:\.directoryname\file.name.with.too.many.dots.ext would not be handled correctly by strchr or find.

My favorite would be the boost filesystem library that have an extension(path) function

Source Link
Raz
Raz

you have to make sure you take care of file names with more then one dot. example: "c:\.directoryname\file.name.with.too.many.dots.ext" would not be handled correctly by strchr or find.

My favorite would be the boost filesystem library that have an extension(path) function (library reference here)