EimaMei / HPL

The HOI4 Programming Language (HPL) is a domain-specific interpreter programming language made for sane HOI4 modding development.
zlib License
13 stars 2 forks source link

use the C++17 filesystem library instead of C APIs #4

Closed Frityet closed 1 year ago

Frityet commented 1 year ago

C APIs generally should be avoided in modern C++. I don't think this should be merged without further testing, but it should function.

EimaMei commented 1 year ago

Are there any actual differences between std::printf and printf?

Frityet commented 1 year ago

Are there any actual differences between std::printf and printf?

If you include <cstdio> then std::printf is guaranteed to be there, whilst printf in the global namespace is not (compiler extension)