First:
Form room = new room (); // room is the new form nameFor (INT x = 0; x {Form tempchild = (form) This. mdichil.pdf [x];Tempchild. Close ();}Room. mdiparent = this;Room. windowstate = formwindowstate. maximized;Room. Show ();
Second:
/
Sometimes many file-based external sorting algorithms need to merge two ordered files. The following provides a simple C ++ implementation method. The specific idea is the same as that of merging two ordered Single-Chain tables.
Void merge_file
Title
Suitable for readers
Features
C ++ Primer
People who have some background in C or have some knowledge about C ++ and are interested in learning it well
The second book is the "tu longdao" in the "Yi Tian tu long" Field of
// This algorithm is used to classify and discuss C ++ annotations.
// (1) a/B
// (2) //
// (3)/* */
// (4) a * B
// From the above four situations, we can see that when '/' is first encountered in the source code, it must be discussed in three
C # personal understanding of delegation
What is DelegationFirst, you need to know what a delegate is. In terms of plain understanding, you can regard the delegate as a thing used to execute methods (functions.
How to Use DelegationWhen using a
Recently I made a winform program to avoid applications with multiple forms. I naturally had a lot of questions in it. First, when we click a button in the main form to open a new form, is this new form opened in a new thread? So I made a test code
Signal function: void (* signal (INT, void (*) (INT );
The signal function is a famous signal function, but its definition is very complicated ...... Any c variable is composed of "type" + "expression", which represents the value of the "expression"
C # Hide the window appllication as the taskbar icon when writing the minimal code.1. Set the winform attribute showintask to false.
2. Add the policyicon control policyicon1 to add an icon for the property icon of the control policyicon1.
3. Add
In the last two years, I have been engaged in many C # website and project development projects, less Java projects, and no experience in mobile phone development projects. There are also two Android and HTC smartphones on hand. I like the features
// C # control skills and defects of using a thread to download files
// System reference // define the thread public variable // start thread download file // stop thread download
// System reference
Using system;Using system. drawing;Using system.
1. Conditional Include
As follows:
# Ifndef main_h _
# Define main_h _
......
# Endif
When we see the header file above, we will see that the function is to prevent this header file from being included multiple times, and repeated definitions
Http://www.blogjava.net/heting/archive/2010/03/20/315998.html
C ++ C #============================================Word ushortDWORD uintUchar int/byte can be replaced by INT in most cases. If strict alignment is required, bytebyte should be
Recently, I accidentally found a split function written by someone else on the Internet: vector split (const string & SRC, string delimit,
String null_subst = "")
...{
If (SRC. Empty () | delimit. Empty () throw "split: empty string 0 ";
Vector
C # custom events are different from Java and involve delegation. The following code includes the whole process from event definition to event triggering and execution.
Using system; using system. collections. generic; using system. LINQ; using
When using the Global hook on the. NET 2005 platform, the setwindowshookex always returns 0, and in:When the setlasterror option of dllimport is set to true, call marshal. getlastwin32error () and return 0. check whether this is the cause: Due to
I thought the collected code would be a good article. It took a day to find an article called "C # And C ++ data type table. it's almost covered by most of the data, which is a blow to me. some data in this article is not tested. there are also some
Reproduced, original address: http://www.cnblogs.com/cocoulong/archive/2010/01/30/1660119.html
// Obtain the complete path of the current process, including the file name (process name ).String STR = This. GetType (). Assembly. location;Result: X:
C language does not provide input and output statements. Input and Output operations are completed by C library functions. But it must contain the header file stdio. h.
Putchar () Outputs a character to the terminal
Printf () format characters:
①
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service