2
Answers

How to implement fibonnachi with Link List in C++?

Joe Wilson

Joe Wilson

10y
700
1
I mean I want to implement the fibonacci function which must not be recursive and I must you dynamic programming like allocating special memory for decreasing the complexities ,especially calculation  by the way, it must be implemented by link list, please guide me to do that.
Answers (2)
0
Vulpes

Vulpes

NA 98.3k 1.5m 12y
You can get a string array containing the 6 attribute values using LINQ to XML as follows:

using System.Linq;
using System.Xml.Linq;
using System.IO;

// ...

XElement root = XElement.Load("maha.xml");
string[] values = root.Element("Serial").Element("Current").Attributes().Select(a => 
a.Value).ToArray();

You should find that:

values[0] will contain : 11 March 2011
values[1] will contain : 10 Rabi-Ul-Awal 1434

and so on.

It's then just a matter of assigning the appropriate values to your textblocks.