No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am having a problem fixing this error: Object reference not set to an instance of an object, [CODE]namespace FaultTrees { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); this.LoadXML(); } private void LoadXML() { List<FaultTree> faultTrees = new List<FaultTree>(); XDocument FaultTreeXML = XDocument.Load("testtrees.xml"); faultTrees = this.GetFaultTrees(FaultTreeXML.Element("HiP-HOPS_Results")); … |
|
I just wandered if there is a way to constantly update the time once it has been displayed on a console application. I am using the following code to display the time: [CODE]time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); printf ("The … |