narmer93's Profile User Rating: -----

Reputation: 8 Worker
Group:
Active Members
Active Posts:
315 (0.13 per day)
Joined:
13-March 08
Profile Views:
2,913
Last Active:
User is offline Jun 13 2014 12:30 AM
Currently:
Offline

Previous Fields

Country:
EG
OS Preference:
Linux
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

  • Photohaddd Icon
    04 Dec 2010 - 08:26
Icon   narmer93 has not set their status

Posts I've Made

  1. In Topic: can't call method with a double array parameter

    Posted 4 Dec 2012

    View PostMichael26, on 04 December 2012 - 04:35 AM, said:

    The second parameter is a ref.

    The ref keyword causes an argument to be passed by reference, not by value. The effect of passing by reference is that any change to the parameter in the method is reflected in the underlying argument variable in the calling method. The value of a reference parameter is always the same as the value of the underlying argument variable.

    double result = TwoOperandsExp<b></b>ressionAnalyzer(line,?????)
    

    This should be written like this
    double result = TwoOperandsExp<b></b>ressionAnalyzer(line,ref double[] Operands)
    


    thanks buddy, i figured it out already
    that's the code that worked for me

      double[] opr = new double[2];
    string operand = TwoOperandsExpressionAnalyzer(line, ref opr);
    

    that's the way i figured out to get something out of a function other than the return method

My Information

Member Title:
D.I.C Regular
Age:
21 years old
Birthday:
June 3, 1993
Gender:
Location:
Egypt
Programming Languages:
vb.net,learning javascript,C/C++

Contact Information

E-mail:
Click here to e-mail me
AIM:
AIM  mbkfa93@aol.com
MSN:
MSN  mbkfa93@hotmail.com
Website URL:
Website URL  http://
Yahoo:
Yahoo  mbkfa93@yahoo.com
Skype:
Skype  mbkfa93
Facebook:
http://facebook.com/mbkfa93

Friends

narmer93 hasn't added any friends yet.

Comments

narmer93 has no profile comments yet. Why not say hello?