Time of Update: 2014-09-01
標籤:c#操作資料庫sqlhelper類 c#操作資料庫 sqlhelper類 c# c#開發 /* 建立者:菜刀居士的部落格 * 建立日期: 2014年09月01號 * 功能:SqlHelper類,操作資料庫 * */namespace
Time of Update: 2014-08-30
標籤:stl stl array array 這裡是array方法的一些總結,具體的可以看後面的連結:public member function<array>std::array::operator[] reference operator[] (size_type n);const_reference operator[] (size_type n)
Time of Update: 2014-09-01
標籤:style blog color 使用 ar for 資料 div log 1.靜態記憶體編譯的時候預申請的記憶體,不需要自己管理,所屬函數執行完畢後自動回收缺陷:類似下面的函數會出錯:c
Time of Update: 2014-08-30
標籤:lua stack lua_typename 這是《Lua程式設計》中的例子,做個簡單記錄。#include <stdio.h>#include <lua5.2/lua.h>#include <lua5.2/lauxlib.h>static void stackDump(lua_State *L){ int i; int top = lua_gettop(L);
Time of Update: 2014-09-01
標籤:style blog color ar for div log sp amp 1 static void Main(string[] args) 2 { 3
Time of Update: 2014-09-01
標籤:os ar for 檔案 log sp amp on line string s = ""; string[] files = Directory.GetFiles(
Time of Update: 2014-09-01
標籤:blog http os io ar for art cti html using System;using System.Collections.Generic;using
Time of Update: 2014-09-01
標籤:lua c module lual_newlib 這是《Lua程式設計》中提到的,但是想成功執行,對於初學Lua的確沒那麼簡單。這裡涉及如何如何產生一個動態連結程式庫so檔案;Lua5.2中匯出函數從LuaL_register變成了LuaL_newlib。對於具體的細節有待深入。這裡的模組名是hello_lib,
Time of Update: 2014-09-01
標籤:style blog http color os io 使用 strong ar 回呼函數回呼函數就是把一個方法的傳給另外一個方法去執行。在C#有很多回呼函數,比如非同步作業的時候。這裡先
Time of Update: 2014-09-01
標籤:style blog color io 使用 ar 檔案 div cti public static object Create(string path){ var
Time of Update: 2014-08-31
標籤:os 使用 strong ar 資料 代碼 on c res C#資料類型的轉換主要有以下幾種方式:1、強制轉換
Time of Update: 2014-08-31
標籤:algorithm cstring 暴力 codeforces 題目:題意:給出一個矩陣,每一格都有一個數字,然後放入兩個象,想可以吃掉對角線上所有的數字,問兩個象能吃掉的最大值。分析:這個題目思路就是暴力,暴力計算出每一格放象的話能得到多少錢,然後求出兩個不衝突的最大值,我比賽的時候寫的方法是先求出
Time of Update: 2014-08-31
標籤:des 使用 io ar for 資料 cti 代碼 html C# .net 3.5 以上的版本引入 Linq 後,字典Dictionary排序變得十分簡單,用一句類似 sql
Time of Update: 2014-08-31
標籤:style blog http color 使用 io ar for 資料 分類: C/C++
Time of Update: 2014-08-31
標籤:blog http 使用 io ar div 代碼 log sp 在C#中,我們可以非常自由的、毫無限制的訪問公有欄位,但有時我們可能希望:(1)限制只能給欄位賦於某個範圍的值;(2)或是
Time of Update: 2014-08-30
標籤:style 使用 io ar 資料 div 問題 cti 代碼 C#知識 泛型 泛型是 2.0 版 C# 語言和公用語言運行庫
Time of Update: 2014-08-31
標籤:style blog http color 使用 io strong ar 資料 1、自動屬性下面兩種寫法作用相同public int Age { get; set;} private
Time of Update: 2014-08-30
標籤:os io ar for 資料 art 代碼 sp amp 如果使用者熟悉Linux下的sed、awk、grep或vi,那麼對Regex這一概念肯定不會陌生。由於它可以極大地簡化處理字串時
Time of Update: 2014-08-30
標籤:style color os 使用 strong ar 資料 代碼 sp 1.強制轉換;
Time of Update: 2014-08-30
標籤:io ar for 資料 cti 代碼 sp amp on hash.c 程式碼分析Lua 中最重要的一個資料結構及相關操作。主要看下幾個對外的介面。