X1227: Save a sticky note text file in C++

Write a function called save_stickynote that receives:

  • the name of a file to save, as a string
  • a text note of information to save, represented as a string

and a file should be opened (or created if it doesn't exist) with the name provided and the information should be written into that file.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.