ill start out saying i just started taking a C++ class. i missed the first day, but he told me the homework was posted online, so im trying to do this homework, and its going good expect for the fact that i dont know where to run these programs im making. im using Visual Studio, and it keeps saying my program has errors, which cant be true. here is my program. is anything wrong with it ? If not, then it must be the program im using.
// Problem 2.5
# include <iostream>
using namespace std;
int main <>
{
cout << " hi\n";
cout << " this is my program\n";
return 0 ;
}



Reply With Quote




Bookmarks