This discussion is archived
4 Replies Latest reply: May 17, 2013 4:48 AM by gimbal2 RSS

Conversion of C++ Code to Java --> #IfDef in Java

1009461 Newbie
Currently Being Moderated
#define DUMP 1
#ifdef DUMP
dump_ffa(t);
#endif

void dump_ffa(int gen)
{
cout << "Dump at gen= " << gen << " best= " << fbest << endl;
}

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points