[Tip: bat] About “%~dp0″

[http://www.cnblogs.com/smwikipedia/archive/2009/03/30/1424749.html][http://www.911cd.net/forums/lofiversion/index.php/t3730.html]更改目前的目錄為批處理本身的目錄 有些暈吧?不急,我舉例 比如你有個批處理a.bat在D:\qq檔案夾下  a.bat內容為 cd /d %~dp0 在這裡 cd /d %~dp0的意思就是cd /d d:\qq %0代表批處理本身 d:\

[Tip: perforce] Unchanged File For Submission Consideration

When we submit code, sometimes unchanged files will be checked in occasionally. In some cases, it is a mistake while in some cases it's correct behavior!Mistake Check in Unchanged FilesIn most cases, we don't need to check in unchanged things. Two

Metadata, reflection and attribute

 Metadata is information about the data -- that is, information about the types, code, assembly, and so forth -- that is stored along with your program. Attributes are a mechanism for adding metadata, such as compiler instructions and other data

什麼是Shader

部分朋友玩電腦遊戲時會出現”no pixel shader support”等相關提示資訊,那麼什麼是shader呢?為此我特意向一個網路遊戲公司的開發人員諮詢,終於弄明白了shader是什麼。shader什麼意思  當初電腦剛誕生時,介面非常簡陋,直到上個世紀 九十年代windows誕生後,才湧現了大量的電腦遊戲,剛開始是二維遊戲(2D game)居多,現在則絕大部分遊戲都是三維(3D)的了。2D圖形,就是無論你如何移動視角,地面上的建築物、花草樹木樣子都不會變,而3D圖形則不

[VS Macro]CollaposeAll Projects in Solution

From Here As Title .---------------------------------Copy Start---------------------------------------------------- Imports SystemImports EnvDTEImports System.DiagnosticsPublic Module CollapseAll    Sub CollapseAll()        ' Get the the Solution

[Tip: project reference]Project Reference In VS

As we know, for .Net projects, it's obvious and clear to use "Add Reference.." to control project reference / dependency relationship. Do you know about it for C++? (below is extracted from VC++ Team Blog article)"Project to Project references have

Interface Key Note

Interface Key Notes (MSDN Interface)1. Explicit Interface ImplementationThere are 2: implicit and explicit interface implementation. Implicit type is normal to be used. Here, to understand more about why needs explicit interface implementation, give

[Tip: dotNet collection]Dictionary Data Sequence

Dictionary: For purposes of enumeration, each item in the dictionary is treated as a KeyValuePair<TKey, TValue> structure representing a value and its key. The order in which the items are returned is undefined. [From MSDN]While, some

[Cursor Bitmap]Programatically Create Bitmap For Cursor

1. How to programatically create a bitmap by filling in existing images.Steps:    a. Create an empty bitmap with you wanted size and get graphics from it.    b. Create TextureBrushes with intended to fill in images. Set its visible region in the new

[Tip: cursor]小Cursor大學問

I worked on a task: when user clicks a command in the application, the cursor can be that command specific. Some gains:1. Cursor can only accept cur file with only black-white color. It's really a big limitation. Trying to load a colorful cur file

Using Resource File on DotNet

[http://www.jelovic.com/articles/resources_in_visual_studio.htm]Using Resources in Visual Studio .NETby Dejan JelovicConceptsHere's how things break down:In Visual Studio .NET, many resources are no longer specified using .RC files. Instead, the

Delegate and Event

Delegate is very easy to understand. So no need to waste words here. I would like to talk more about Event in C#. 1. [Paste from unleashed C#]An event is a delegate with special features in the areas of type membership, limitations on invocation,

對UML多了很多理解

1. 更多的UML drawing tools. Prefer UMLet for now. Martin Fowlerlikes UMLGraph (I don't have feeling about it now). And Two very suggested UML tools by a guy who have practiced with many UML tools (let's trust him):One is Visual Paradigam and the other

[Interop from managed code to unmanaged code]Platform Invoke

PInvokePlatform Invocation Services (PInvoke) allows managed code to call unmanaged functions that are implemented in a DLL. This tutorial shows you what you need to do to be able to call unmanaged DLL functions from C#. The attributes discussed in

關於Task Breakdown / Plan & Project Prototyping

項目馬上要開始了。manager一天突然排程會議,說是接到了第一步的任務:quickly give out a prototype of the project for further verification and evaluation.從這個事情上我學到了兩點:1. Task breakdown / PlanTask breakdown在各個任務層次上需要的考慮是不一樣的。比如,一個task是“做一個XX3D modeling

[Tip Regular expression]Test Regular Expressions With The Regulator

文章目錄 Regex actions supported: The Regulator is an advanced, free regular expressions testing and learning tool. It allows you to build and verify a regular expression against any text input, file or web, and displays

Gains from a Unit Test Training

Today, I attended a unit test training held internally in Corp. Several gains:1. Applying Unit test is pretty simple! I never thought that the idea to do unit test and its implementation is just that straightforward and easy! Remember the key point

[轉載 收藏]6 important .NET concepts: – Stack, heap, Value types, reference types, boxing and Unbo

From: Code Project 6 important .NET concepts: - Stack, heap, Value types, reference types, boxing and Unboxing. IntroductionWhat goes inside when you declare a variable?Stack and HeapValue types and reference typesSo which data types are ref type

[轉載]開源界的5大開源許可協議詳解

文章目錄 什麼是許可協議?GNU GPLBSDMITApacheCreative Commons 開源界的5大開源許可協議詳解越來越多的開發人員與設計者希望將自己的產品開源,以便其他人可以在他們的代碼基礎上做更多事,開源社區也因此充滿生機。在我們所能想到的應用領域, 都有開源軟體存在(象 WordPress,Drupal

Study CG and 3D Modeling

3 years in former project, I felt nothing with CG and 3D Modeling, maybe because the project scope is so centralized to be CAD-interop while NO direct tasks regards with 3D Modeling application itself; but now with my moving into new project for a

總頁數: 61357 1 .... 10261 10262 10263 10264 10265 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.