
-----------------------------------
hamid14
Thu Apr 29, 2010 11:15 am

If using strings in dev-c++
-----------------------------------
I am using latest version of dev-c++ and i am trying to do an if with strings. so here's my code, i keep getting errors on the if line.

#include 
using namespace std;
int money,exp,color;
int main ()
{
  string action ("");
  cout > action;
  if (action ("battle")
{
  cout 