is there any other way to open a file for append output other than: Code: ofstream afile("filename",ios::app); ??
ofstream afile("filename",ios::app);