Hi
Following code i typed in c++/cli it is working fine except last.
-----------------------START-----------------------------------
T = 373.15;//K
P = 101325;//Pa
array<string^>^ gcomp = gcnew array<string^>{"n-Hexane", "n-Octane"};
array<double^>^ comp = gcnew array<double^>{ 0.5,0.5 };
int a = 0;
array < String^,2 >^ result2 = calc.PTFlash(prpp, a, P, T, gcomp, comp);
----------------------------------------END--------------------------------------------------
Following code from VB.net it working fine. This same code i used in c++/cli above i highlighted i don't know how to assign result2 variable. Please help ASAP
-------------------VB.net------------------
object[,] result2 = dtlc.PTFlash(prpp, 0, P, T, new string[] { "Water","Ethanol"}, new double[] {0.5, 0.5 });
-------------------VB.net------------------</double^></double^></string^></string^>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Following code i typed in c++/cli it is working fine except last.
-----------------------START-----------------------------------
T = 373.15;//K
P = 101325;//Pa
array<string^>^ gcomp = gcnew array<string^>{"n-Hexane", "n-Octane"};
array<double^>^ comp = gcnew array<double^>{ 0.5,0.5 };
int a = 0;
array < String^,2 >^ result2 = calc.PTFlash(prpp, a, P, T, gcomp, comp);
----------------------------------------END--------------------------------------------------
Following code from VB.net it working fine. This same code i used in c++/cli above i highlighted i don't know how to assign result2 variable. Please help ASAP
-------------------VB.net------------------
object[,] result2 = dtlc.PTFlash(prpp, 0, P, T, new string[] { "Water","Ethanol"}, new double[] {0.5, 0.5 });
-------------------VB.net------------------</double^></double^></string^></string^>
Don't you know how to convert the last line to C++? I don't. :)