OS: sles 11
1. Check the dependent library zlib SSL bdb4.8.30. Check the prompt and install it again.
2. modify the configuration file VI modules/setup. DIST to the following:
216 SSL =/usr/local217 _ SSL. c \218-duse_ssl-I $
The template must be defined in the header file.
Recently, I encountered a strange problem in the project.
InProgramModule A uses a template function, which does not need to be called externally. Therefore, it is defined and implemented in *. cpp.
The base sorting method can be LSD (least significant digital) or MSD (most significant digital). The LSD sorting method starts from the rightmost of the key value, while MSD is the opposite, start from the leftmost of the key value. Take LSD as an
Convert the file handle to file *
Recently, I asked a question in the Forum about converting the file handle into file. Unexpectedly, the C Runtime provides two functions: _ open_osfhandle and _ fdopen. Let's share it with you.
Void osfiletocrtfile (
Accessing [convert] characters, bytes, and encoding-an article about encoding in detail (I)
3. Several misunderstandings and causes of garbled characters and Solutions3.1 misunderstandings
Misunderstanding of coding
In computer science and mathematics, a sorting algorithm is a basic and commonly used algorithm. A sorting algorithm is an algorithm that can sort a string of data according to a specific sorting method.
I. waveform effect during program running
2. in signal processing, the Real-Time Waveform of the collected signal is usually displayed. If you directly draw a dynamic graph on the screen, it will flash. To overcome this problem, we will first
From http://blog.163.com/zozowit@126/blog/static/40705087200881213834300/
With stretchblt, the image is scaled, and the distortion is very serious.
Some people say that the use of pscreendc-> setstretchbltmode (coloroncolor) causes more serious
Many people in the call WebService provided by the method, found that when the string contains Chinese, uploaded to the WebService side is found to be garbled, this is because WebService default encoding is "UTF-8 ", this type of problem occurs when
A simple method is to capture the program first, modify the information, and finally throw it. If you want more information, you need a class to inherit the exception class and then add your own elements.
Let's start with a simple method. First,
The runtime in XP or 2003 (Themes Service must be started) will display the XP interface style.
In other words, test.exe must first call the initcommoncontrols function (abolished, not recommended) or the initcommoncontrolsex function to register
Many people know how to start a thread, but do not know how to pass parameters to the thread correctly.
A common mistake is to use global variables to pass parameters to the thread. In fact, the disadvantage of this method is that it is not safe,
EMule source code parsing-2 2006-10-16
1. Block Mechanism-ensure the correct transmission of resources. To speed up content delivery, block processing is a simple and effective method. EMule processes each file in blocks. In addition, if the hash
Search information set-csearchlist
Csearchlist is the search list in eMule. It is in charge of all search requests in eMule. Csearchfile is an element in this list, representing information related to a search. Their relationships are similar to the
(1) It is generally divided into two parts: Find the running instance, find the main window of the program, and then pop up.
Instance search methods: mutex variables and semaphores can all be used,
The method for searching the window is findwindow
How to add a menu to the dialog box:
1) use function loading
2) create a menu resource idr_mainframe and add the menu idr_mainframe item to the Panel resource in the dialog box.
Problem: the menu can be implemented by using the following methods,
Private sub dtgusers_pageindexchanged (byval source as object, byval e as system. Web. UI. webcontrols. datagridpagechangedeventargs) handles dtgusers. pageindexchanged
Datagridbind (E. newpageindex)
End sub
'Refreshthe DataGrid's data
8. Intermediate Language (IL)8.1 can I see the intermediate language of the component?Yes. Microsoft provides a tool called ildasm that can be used to view metadata and Il of components. 8.2 can I obtain the source code from Il through reverse
1. record the number of clicks on the website on the server and display them on the customer's browser.
Import javax. servlet .*;
Import javax. servlet. http .*;
Import java. Io .*;
Import java. util .*;
Public class hitcountservlet extends
Common encryption algorithms include symmetric encryption algorithms, asymmetric encryption algorithms, and hash algorithms.Symmetric encryption
An encryption algorithm that uses the same key for encryption and decryption. The advantage of symmetric
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