Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment It is harder than you think. (Score 2) 330

printf("Copied %n file%s\n", n_files, n_files > 1 ? "s" : "");

There are languages with more than two grammatical numbers. There are languages that use different word order with different numbers. You need to redesign your simple and easy printf statement to accommodate them, and the outcome is bound to be anything but simple and easy.

Slashdot Top Deals

2.4 statute miles of surgical tubing at Yale U. = 1 I.V.League

Working...