Learn C #, learn. NET technology, learn website, learn Database SQL Server, and learn IIS
There are many things to learn, and there are also many difficulties.
I didn't have sqlserver first. I got it from the Microsoft website and couldn't connect
C ++ exception. It was written a few days ago.
// Studyexception. CPP -- 2011-08-23-18.53 # include "stdafx. H "# include Using STD: runtime_error; Using STD: cout; Using STD: Endl; int bodyweight (void); int _ tmain (INT argc, _ tchar * argv []) {
Why smart pointer?
Why do we need smart pointers? C ++ memory management has always been a headache.
Assume that we have the following person object: each person has its own name and can tell you its name:
////a person who can tell us his/her name./
It seems that the role of the group is really great.
Just now, I found that my abstract thinking capability is almost 0.
I always thought there was no way to deal with the set. Then the people in the group said they could use the bool array. Then I
String functions in C Language
There are two main categories: Copy, comparison, and others.
Copied:
1. strcpy
Function prototype
Char * strcpy (char * strdestination, const char * strsource );
Function
Copy the content of strsource to strdestination,
From Google
Http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Classes
1. Use # define to prevent repeated inclusion
If the header file is under the bar of the Project Foo folder and the header file name is Baz. H, it is defined as
You can download and compile the project zip package (Save the GIF file as zip ).
Http://hi.csdn.net/attachment/201107/25/0_1311593791wkYN.gif
Libjsonparser is a DLL project of jsonparser. The source code is from the json.org
Bool savebmp (char * BMP name, unsigned char * imgbuf, int width, int height, int bibitcount, rgbquad * pcolortable) {// If the bitmap data pointer is 0, no data is transmitted, the function returns if (! Imgbuf) return 0; // color table size, in
/****************************************** **************************************** ***** Basic descriptions of hash_map ing containers:**************************************** **************************************** ****** Hash_map hash ing
/****************************************** ***** Basic descriptions of map ing containers:**************************************** ****** Map ing container: the data structure of the container is managed by the red/black tree, And the inserted
/****************************************** ***** Basic description of multiple set containers in Multiset:**************************************** ****** Multiple collection containers of Multiset use the balanced binary tree of the RB-tree to
July 1 st, 2010 by Pathfinder
Required program: Jacob, for: jacbbin_17.zip1. Use vs2008 or vs2010 to create a Windows library program. The project name is invokecsharp, and then create a new class: exampleclass. The Code is as follows:
Using system;
A slightly special point is the min () function. Considering the Infinity condition, you can perform multiple checks.
You can calculate the shortest path between each pair of vertices and print the path. reading and learning, I think about it again.
Square root. I didn't know it before. I saw it in mathematics yesterday. I wrote it. I optimized it a little. It's good.
// Squareroot. CPP -- 2011-08-29-01.04 # include "stdafx. H "# include double squareroot (double radicand, Double Precision);
Given two int arrays, they are all sorted in ascending order, and the size is the same, all are n. find their median at O (log2 N) time. a little headache. but I finally wrote the code. ideologically, binary search. although I used sequential search
This is actually ambiguous because it is not so common at all. But there is a very simple way to make this program more generic. I will introduce the preparations before running this program.
First, place all the code files in the same empty folder.
It's incredible to say that it's incredible. It's incredible to say that I can't believe it.
Has it been written for about 6 hours? I wanted to be faster, but the structure was quite different from what I thought.
I used to think that my pointer was
/* Fibonacciheap. C -- implementation file of the Fibonacci heap */ # include "fibonacciheap. H " /* local function declaration */ static node * makenode (const item * const PI ); static int logbaseontwo (const int current); static void Link
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