Answer to Question stdio-outf-1

#include <cstdio>
using namespace std;

int main(int argc, char** argv)
{
  FILE* f = fopen("robinhood.txt", "w");
  fprintf(f, "Robin hood and his merry men");
  fclose(f);
  return 0;
}