I am trying to display my name using outfile vs. cout and I get errors I don't know how to fix. Here is the code:
// Johnakin Martin
//This program will calculate the monthly payment, the total amount paid back over the entire life of the loan,
// and the total interest paid over the life of the loan.
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
1>z:\csci207\program1practice.cpp(13): error C2297: '<<' : illegal, right operand has type 'const char [16]'
1>z:\csci207\program1practice.cpp(13): warning C4552: '<<' : operator has no effect; expected operator with side-effect