Figured it out
This is a discussion on Need Help with Program!!!!!! within the C++ Programming forums, part of the General Programming Boards category; Figured it out...
Figured it out
Last edited by walkonwater; 02-22-2009 at 12:41 PM.
Do you have "using namespace std;" somewhere in your code?
Variables must be declared before you try to use them.
Watch the curly braces, most of your code is outside of main()
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
So declare them then!
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.