I'm new here and I need to know how to change a sentence in lowercase to uppercase and output the uppercase sentence to a file.
What other code do I need for this?
Here is what i have so far:
Code:#include <iostream> #include <fstream> #include <cctype> #include <cstdlib> using namespace std; int main() { using namespace std; ofstream out_stream; out_stream.open("lowertoupperoutfile.dat"); out_stream << ("hello this is the paragraph part of the project.\n"); out_stream.close(); return 0; }