Hi, I was wondering with the menu bar how to open, save and make a new file on the menu bar
case MENU_FILE_ID_OPEN:
{
//something to open the file
} break;
i have no idea at all how to do this, i have searched the net but it just comes up with tons of "how to open and save files in microsoft visual studio" type of things.
Just use normal file i/o streams such as ifstream and ofstream. If you want to display the usual OpenFile dialog box that lets you select the file you want to open then call GetOpenFileName()