Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Poor compared to what?

The stdlib doesn't have anything to use files.

The C win32 API CreateFile() has 6 arguments each more obscure than the previous one. Gotta support sync and async in a single function.

The C kernel API NtCreateFile() has around 13 arguments, probably including enum with 105 different values.



Well, Qt provides a QFile class to do standard file operations. eg create, remove, rename, etc.

It also has the QFileInfo class to retrieve file info, such as creation/last-modified/last-accessed date.

It just seems super weird to not also have the matching functions available to set those dates. Which we really wanted for our client side Qt/C++ GUI, as I'd just finished doing the server side part in Go which does provide those.

And Qt seems to provide pretty much everything else... but this one weird bit which is missing. :/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: