Additional C++ functions: string, file, count, time