First let me say that this is my first attempt to program with C++. The only prior programming experience I have is learning BASIC back in high school. So I get basic computer theory, beyond that it is all virgin territory. I got a list the C++ commands from: http://www.eg.bucknell.edu/~kvollmay/caps_s2010/C++_summary.pdf
, wrote an outline of what I want to do, and now I am setting out to do it. I am using Dev-C++ 188.8.131.52 and selected console app.
However, I didn't get far.
I wrote the following
using namespace std;
int main(int argc, char *argv)
// ---- Start Page ----
/cout << "Output sentence";
and get the following errors when I try to compile it
12 C:\Users\Adam\Desktop\main.cpp expected constructor, destructor, or type conversion before '<<' token
12 C:\Users\Adam\Desktop\main.cpp expected `,' or `;' before '<<' token
C:\Users\Adam\Desktop\Makefile.win [Build Error] [main.o] Error 1
From what I read this ought to be pretty straight forward, so why am I having issues???