Hello. Tell me what fprintf will look like.
int fprintf( FILE *stream, const char *format, ... ); if I use ofstream &fp instead of FILE*fp ?
ofstream fp("oops.txt"); Here, fp not a pointer, as usual. How then?
ps or what function is better to use to record data into a file, if using ofstream ?