1. Introduce
1.1 Third party class library: Npoi
Description: Npoi is a. NET version of the POI project and can be used for Excel, Word read and write operations.
Advantages: Do not install Office environment.
Download Address:
LINQ generates XML Format data
The code is as follows
Copy Code
Using System.Xml.Linq;static void Main (string[] args){LINQ generates XML-formatted data, which is more flexible than using System.Xml.Linq, compared to
Objective
Last week, human-Computer Interaction class teacher assigned a homework, let us realize a triangle area calculator, have the kind of interface, programming language is not limited, and disclosed that use C # to achieve more convenient.
The
code is as follows
copy code
//Multiple table Multiline multiple columns foreach (datatable dt in yourdataset.tables) //traversal of all DataTable { foreach (Datarow dr in dt. rows) ///traverses all rows
One problem, presumably, is to write a function deal to remove the repeating element in an unordered integer array (for example, int i_arr[] = {1, 2, 2, 3, 4, 2, 3, 5};) and return the final length.
1 ideas
When you see this problem, the first
Array of pointersAn array of pointers is a special kind of array that holds all the memory addresses of the same data type. The pointer array is defined in the form:Data type * array name [length];For example:const char *c[4] = {"We", "USA", "Rassia"
I. OverviewThe Google C + + unit Testing Framework (GTEST), which can be used on multiple platforms (including Linux, Mac OS X, Windows, Cygwin, and Symbian), provides rich assertions, fatal and nonfatal failure judgments, value parameterization
Type conversion Maybe everyone is not strange, int i; float J; j = (float) i; i = (int) J; Explicit conversions like this are very common, forcing type conversions may lose some of the data, so if you do not add (int) to do the cast, strict
Recently, in some small projects, the dynamic link library becomes the perfect choice because it involves interacting with other languages. To this end also consulted a lot of information, the dynamic link library related knowledge to do a collation.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.An enum provides a base class for an enumeration whose underlying type can be any integral type except Char. If you do not explicitly declare
In the other use of inline in the previous article, it is mentioned that the function implementation differs from the class definition in the class definition.Now let's look at an experiment:A.cpp:[CPP]View PlainCopy
#ifndef Test_h
Problemc How to invoke a function from another source file in one file, title.Solutions When the program is a lot more code, want to modular development, save a bit in different files, is a good solution, then how can we make the code in each file
I. Description of the problemSince the Crystal report is not integrated after VS2008, it needs to be downloaded separately.Note here that if you are using a C # form program, be sure to download the exe file, install the MSI file, the VS toolbar can
C # 2.0 new feature 1. Generic 1.1 Generics IntroductionGeneric classes and generic methods are both reusable, type safe, and efficient, which are not available for non-generic and non-generic methods. Generics are typically used in collections and
1. Create a new Windows service, name (Websendmsgsocket, check Properties-version number) Double-click Service1.cs Open Design view, right-click in Design view, choose Add Installer Installing the ServiceProcessInstaller1 and ServiceInstaller1
Creating a Windows service does not explain, and the other great gods write too much. Here is a tutorial that only writes a project to install multiple services. such as: http://www.cnblogs.com/zzgblog/p/4595839.htmlStart by creating multiple
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.