Explore BrainMass

Explore BrainMass

    c++ text centering

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I have attached a lab assignment and a html document with c++ code to solve the problem (which i got from another TA) but I can seem to get it to run when it complies it returns errors. I got it down to one error by putting int MAX = 60; under the main functin and taking the .h off iostream etc. but still had one error and not sure if that was right anyway.

    Thanks

    © BrainMass Inc. brainmass.com November 29, 2021, 11:58 pm ad1c9bdddf
    https://brainmass.com/computer-science/cpp/text-centering-help-compiling-finding-errors-12541

    Attachments

    Solution Preview

    Hi,
    I think u r working on windows. Can you please remove the line:

    using namespace ...

    Solution Summary

    This job emphasizes c++ text centering. The errors are compiled.

    $2.49

    ADVERTISEMENT