irate translator

[ad_1]

irate translator
$ curl 'https://pirate.monkeyness.com/api/translate?english=What%20is%20an%20API?'
Wha' be an API?

[ad_2]… Read More

cout boolalpha

[ad_1]

cout boolalpha
// modify boolalpha flag
#include      // std::cout, std::boolalpha, std::noboolalpha

int main () {
  bool b = true;
  std::cout << std::boolalpha << b << '\n';
  std::cout << std::noboolalpha << b << '\n';
  return 0;
}

[ad_2]… Read More