help

02/17/2013 01:34 oiakrap#1
I'm with a doubt! how to make an argument in C + + you guys can get me out of this doubt: Confuso:
02/17/2013 14:41 Nightblizard#2
Hey,

check this out:

Code:
#include <humans>

int main()
{
      Man me;
      Women wife;

      try
      {
            wife.AskCatchyQuestion(CatchyQuestions::PICK_ANY, me);
            me.Answer(Answers::DOESNT_MATTER); //this will always throw, no matter how hard you try
      }
      catch(Argument& argument)
      {
            //The argument starts here
      }
}
Output:

Quote:
Wife asks: "Do I look fat in this dress?"
Me answers: "You sure do!";
Wife kicks me in my balls, it's super effective!
Me faints!
Nah, just kidding. What exactly do you mean? Would you care do elaborate?
02/17/2013 19:37 oiakrap#3
I did look more or less I'll have to add this part of the argument =[ "catch (" Argument "& argument)" ]= here?
02/17/2013 23:11 FinestBoosterNA#4
Something like that the 2nd post is good
02/20/2013 23:55 oiakrap#5
plz close ^^