convert long->p[][]
-
How to convert long type to twodimensionalarray conversion for example private long nP; public long giveNewPolygs(ref PointF[][] newP) { long n; try { n = p[0].Length; n = p.Length - 1; } catch (Exception ex) { return -1; } newP = nP; newP = p; return n; }
-
How to convert long type to twodimensionalarray conversion for example private long nP; public long giveNewPolygs(ref PointF[][] newP) { long n; try { n = p[0].Length; n = p.Length - 1; } catch (Exception ex) { return -1; } newP = nP; newP = p; return n; }
The real question is, how do you WANT to turn a single number into a 2D array of points ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
The real question is, how do you WANT to turn a single number into a 2D array of points ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
How to convert long type to twodimensionalarray conversion for example private long nP; public long giveNewPolygs(ref PointF[][] newP) { long n; try { n = p[0].Length; n = p.Length - 1; } catch (Exception ex) { return -1; } newP = nP; newP = p; return n; }
What do you actually want to do here?
Manoj Never Gives up
-
What do you actually want to do here?
Manoj Never Gives up
-
really i dont understand that answer. please give me the correct code conversion for array[][] to long.
I am speechless. I can convert a single long into a 2D array any number of ways. There is no actual, obvious conversion. Therefore, you need to explain yourself better, because the odds are that if I make up an answer, I will answer the question, without helping you. Is the long a pointer to an array, is that the problem ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
How to convert long type to twodimensionalarray conversion for example private long nP; public long giveNewPolygs(ref PointF[][] newP) { long n; try { n = p[0].Length; n = p.Length - 1; } catch (Exception ex) { return -1; } newP = nP; newP = p; return n; }
There is no such conversion predefined, and there is no obvious way of constructing a conversion like that. What is your idea about what a conversion like that would do? For any given example value, what would you expect the result to be?
Despite everything, the person most likely to be fooling you next is yourself.
-
There is no such conversion predefined, and there is no obvious way of constructing a conversion like that. What is your idea about what a conversion like that would do? For any given example value, what would you expect the result to be?
Despite everything, the person most likely to be fooling you next is yourself.
Good luck - he stopped answering when I asked the same thing.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )