sandynguyen.wordpress.com
Read XML file in C# | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2013/03/12/read-xml-file-in-c
Sandy Nguyen's Blog. Dream it, Build it, Live it. Read XML file in C#. Read XML file in C#. March 12, 2013. Sometimes, you need to do with xml file. Here are one example to get familiar with it:. We have xml file like this:. 160; Drink. 160; Beer heniken /Beer. 160; /Drink. 160; Tree. 160; Apple red /Apple. 160; Orange orange /Orange. 160; Lemon yellow /Lemon. 160; /Tree. We write some code to read it:. 160; {. 160; if (node! 160; }. Finally, you get t...
sandynguyen.wordpress.com
Sandy Nguyen's Blog | Dream it, Build it, Live it | Page 2
https://sandynguyen.wordpress.com/page/2
Sandy Nguyen's Blog. Dream it, Build it, Live it. Floyd’s Algorithm – All pairs shortest path. November 20, 2012. Computes shortest distance between all pairs of nodes, and saves P to enable finding shortest paths. Using namespace std;. Ifstream fi(FLOYD.INP);. Ofstream fo(FLOYD.OUT);. Int n,m;/ n is number of vertex, m is number of edge. Int const MAX = 1000;. Int const vc = 32000;/ infinite value. Int w[MAX][MAX], d[MAX][MAX], p[MAX][MAX];/ array of distance and parent. Void print path (int i, int j).
sandynguyen.wordpress.com
How to increase debug time in ASP.NET or SharePoint | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2013/03/17/how-to-increase-debug-time-in-asp-net-or-sharepoint
Sandy Nguyen's Blog. Dream it, Build it, Live it. How to increase debug time in ASP.NET or SharePoint. How to increase debug time in ASP.NET or SharePoint. March 17, 2013. Sometimes, time to debug is too short. It it an annoying issue. Here are some tips that we can solve this problem. Choose your application port that you’re working in. Change some values in Process Model. 8211; Ping Enabled : from true to false . 8211; Ping Maximum Response time (seconds) : from 30 to 999999. Enjoy and hope you success!
sandynguyen.wordpress.com
Apply LINQ to SharePoint with RunWithElevatedPrivileges() | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2013/03/17/apply-linq-to-sharepoint-with-runwithelevatedprivileges
Sandy Nguyen's Blog. Dream it, Build it, Live it. Apply LINQ to SharePoint with RunWithElevatedPrivileges(). Apply LINQ to SharePoint with RunWithElevatedPrivileges(). March 17, 2013. 8211; LINQ to SharePoint is a way we query lists in SharePoint (beside CAML). Inside system, LINQ is compiled to CAML to query data. It is a little bit slow compared with CAML. Here is an small example about this topic:. Using System.Linq;. Using Microsoft.SharePoint;. Using Microsoft.SharePoint.Linq;. 160;  ...160;...
sandynguyen.wordpress.com
Vector in C++ – Sample template | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2012/11/21/vector-in-c-sample-template
Sandy Nguyen's Blog. Dream it, Build it, Live it. Vector in C – Sample template. Vector in C – Sample template. November 21, 2012. Vector containers are implemented as dynamic arrays. Using namespace std;. Define a vector with type in. Vector int my vector (5);/ Define a vector with amount of elements. Vector int v;. Can init value Ex: my vector (10,0);vector char C(25, ‘A’);. Vector vector int matrix(3, vector int (2,0) ;. Void PrintVector(vector int val). 160; cout endl;. 160; cout After...160;...
sandynguyen.wordpress.com
Sandy Nguyen | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/author/sandynguyen
Sandy Nguyen's Blog. Dream it, Build it, Live it. Checking excel data file with C# class. January 22, 2014. You need to check a large amount of data in excel file? Checking job is not simple and so trite. Refer the way creating a robot for checking not an bad idea. It also helps us more if it show an summary of provided data. This is an example code for consulting class library. This ex checks wrong emails in some cases and show console summary. How to increase debug time in ASP.NET or SharePoint. 160;&#...
sandynguyen.wordpress.com
Bitwise operators in C++ | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2012/12/03/bitwise-operator-in-c
Sandy Nguyen's Blog. Dream it, Build it, Live it. Bitwise operators in C. Bitwise operators in C. December 3, 2012. Using namespace std;. Int main(int argc, char *argv[]). 160; unsigned short int a,b;. 160; cout Enter 2 numbers: ;cin a b;. 160; cout Amount of bytes: sizeof(a) endl;. 160; cout Binary of numbers: endl;. 160; cout bitset 8 ( a ) endl;. 160; cout bitset 8 ( b ) endl;. 160; cout Operator and : endl;. 160; int temp = a and b;. 160; cout temp endl;. 160; temp = a b;. You are...
sandynguyen.wordpress.com
Checking excel data file with C# class | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2014/01/22/checking-excel-data-file-with-c-class
Sandy Nguyen's Blog. Dream it, Build it, Live it. Checking excel data file with C# class. Checking excel data file with C# class. January 22, 2014. You need to check a large amount of data in excel file? Checking job is not simple and so trite. Refer the way creating a robot for checking not an bad idea. It also helps us more if it show an summary of provided data. This is an example code for consulting class library. This ex checks wrong emails in some cases and show console summary. 160; {. 160; ...
sandynguyen.wordpress.com
Floyd’s Algorithm – All pairs shortest path | Sandy Nguyen's Blog
https://sandynguyen.wordpress.com/2012/11/20/floyds-algorithm-all-pairs-shortest-path
Sandy Nguyen's Blog. Dream it, Build it, Live it. Floyd’s Algorithm – All pairs shortest path. Floyd’s Algorithm – All pairs shortest path. November 20, 2012. Computes shortest distance between all pairs of nodes, and saves P to enable finding shortest paths. Using namespace std;. Ifstream fi(FLOYD.INP);. Ofstream fo(FLOYD.OUT);. Int n,m;/ n is number of vertex, m is number of edge. Int const MAX = 1000;. Int const vc = 32000;/ infinite value. Void print path (int i, int j). 160; if( i! 160;  ...