- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
try
{
m = (int)Convert.ToInt32(num[1]);
}
catch
{
Console.WriteLine("Invalid parametr");
return true;
}
//...................................................
try
{
matrix[i, j] = (float)Convert.ToDouble(num[j]);
}
catch
{
Console.WriteLine("Invalid matrix");
return false;
}
Lure Of Chaos 10.11.2013 12:04 # +1
Lure Of Chaos 10.11.2013 12:20 # +4
makc3d 11.11.2013 18:59 # −1
guest 12.11.2013 00:38 # 0
(?)->int->int
(?)->double->float (wtf??)