原创 Content Type working with Document Word

SharePoint Content Types working with Word 這個文檔是按照SharePoint 2010 Development with Visual Stdio 2010 Chapter 7 中的Advan

原创 九度OJ_1355

開始的時候沒有考慮到0 1 4 5 6這種情況, #define _CRT_SECURE_NO_DEPRECATE #include <stdio.h> #include <iostream> #include <algorithm>

原创 MSDN-靜態構造函數

靜態構造函數用來初始化任何的靜態數據,或者是用來執行只需執行一次的特殊行爲。在第一個實例被創建前或者是任何的靜態成員被引用時,靜態構造函數會被自動調用。 靜態構造函數有有以下屬性: 靜態構造函數不能有訪問權限修飾符(public,pr

原创 PowerShell

PowerShell:Delete File if Exists If (Test-Path $strFileName){ Remove-Item $strFileName } SPSite.Exist()判斷時一個Site C

原创 SharePoint 2010開發環境搭建

本文的主要內容:本地電腦上搭建SharePoint 2010的開發環境,資料來源主要是翻譯微軟官方文檔,以此記錄學習過程,下面就一步一步翻譯重點,由於我電腦是Win 7系統,所以這裏主要介紹window 7的安裝環境。 當想創建Share

原创 Matlab中判斷兩個矩陣是否相等

>> ddd = [1 2 3 4 5 6]; >> bbb = [1 45 56 55 89 40]; >> ddd == bbb ans = 1 0 0 0 0 0 >> if

原创 使用JQuery實現級聯Dropdownbox

dropdownbox有人稱他爲option,大概就是一個意思,這裏主要參考文檔(需要翻牆)Cascading Drop Down Sharepoint Foundation 2010,哈哈,這裏還是翻譯,記錄學習過程和遇到的問題。 開

原创 leetcode_Container With Most Water

class Solution { public: int maxArea(vector<int>& height) { int mostwater = 0; for(int i=0;i<heigh

原创 Z型輸出數組 ------ccf認證第二題

 #define _CRT_SECURE_NO_DEPRECATE #include <iostream> #include <stdio.h> using namespace std; int main() { int n;

原创 去掉字符串中重複的字符並排序

第二題:去除重複字符並排序 運行時間限制:無限制 內容限制: 無限制 輸入: 字符串 輸出: 去除重複字符並排序的字符串 樣例輸入:

原创 文章標題

#include <iostream> #include <string> using namespace std; class Base { public: Base() { cout << "Base

原创 Pointers On C Chapter 9

#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char a[] ="Hello World"; char b[] = "I

原创 c++ Prime(第六版) P486 類繼承 派生類構造函數

dfs #include <iostream> #include <string> using namespace std; class Base { public: Base() { cout <<

原创 九度OJ 1019:簡單計算器

#include <iostream> #include <stack> #include <stdio.h> #include <string> #include <map> #include <vector> #include <r

原创 python學習(1)--python處理文本

背景:關於論文每次從wind數據庫中取數據出現的問題,由於從wind數據庫中取出的滬深300股指期貨數據是從9:15開始的,15:15結束的,而現貨數據是從9:30開始,15:00結束,而且數據會出現缺失的情況。寫個python希望可以自