码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
Leetcode SortList
Sort a linked list inO(nlogn) time using constant space complexity.本题利用归并排序即可归并排序的核心是将两部分合成一部分,故开始要将链表分成两部分,利用快慢两个指针,当快指针跑到链表尾部时,慢指针恰好在中间,故可以将链表分成两部分然...
分类:其他好文   时间:2014-06-21 12:20:11    阅读次数:188
c++ 运算符重载
#include using namespace std;class Complex_cs{public: Complex_cs(double r, double i):real(r), image(i){} Complex_cs() { real = 0; image = 0; } void .....
分类:编程语言   时间:2014-06-21 11:54:19    阅读次数:283
Using JAAS Authentication in Java Clients---weblogic document
The following topics are covered in this section:JAAS and WebLogic ServerJAAS Authentication Development EnvironmentWriting a Client Application Using...
分类:编程语言   时间:2014-06-21 11:17:39    阅读次数:198
链表快速排序
链表快速排序 大致思想是通过一个指针数组转化为常规数组快速排序,最后再重新梳理链表。 #include #include using namespace std;typedef struct NODE{ int data; NODE* next; NODE(int _data) : data(_da...
分类:其他好文   时间:2014-06-21 10:01:47    阅读次数:210
【虚】示例代码
三.虚析构#include using namespace std;class Base{public: virtual ~Base(){ cout<<"Base destructor\n"; }};class Derived:public Base{public: Derived(){...
分类:其他好文   时间:2014-06-21 08:53:46    阅读次数:182
the join and dump method
join(string, ...) Returns a new string formed by joining the strings using File::SEPARATOR.File.join("usr", "mail", "gumby") #=> "usr/mail/gumby"rea.....
分类:其他好文   时间:2014-06-21 08:28:24    阅读次数:224
Path静态类
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi...
分类:其他好文   时间:2014-06-21 08:14:06    阅读次数:176
SmtpDlg 调用SMTP
// SmtpDlg.h : 头文件//#pragma once#include "afxwin.h"#include "string"using namespace std;// CSmtpDlg 对话框class CSmtpDlg : public CDialogEx{// 构造public: ...
分类:其他好文   时间:2014-06-21 08:05:46    阅读次数:254
HDU 1238
好吧,这题直接搜索就可以了,不过要按照长度最短的来搜,很容易想得到。记得ACM比赛上有这道题,呃。。不过,直接搜。。呵呵了,真不敢想。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 char s...
分类:其他好文   时间:2014-06-21 07:57:45    阅读次数:148
c#无边窗体实现移动的两种方式
转载:http://blog.csdn.net/dxsh126/article/details/2940226首先,要用到一个WimdowsAPI函数,因此必须引入using System.Runtime.InteropServices;命名空间;然后,这里有两种方法,一种使用API, 一种不用,重...
分类:移动开发   时间:2014-06-20 14:01:52    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!