亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? vcbible.dsm

?? 主要介紹vc++6.0的編程過程
?? DSM
字號:
'File Description: VCBIBLE.DSM includes macros used in the book Visual C++ for Dummies

Sub AddNewFileToProject()
'DESCRIPTION: Add a new file to a project with comments.


'Begin Recording
	ExecuteCommand "FileNewInProject"
	ActiveDocument.Selection = "// File:   " & ActiveDocument.Name
	ActiveDocument.Selection.NewLine
	ActiveDocument.Selection = "// Author: Garrett Pease"
	ActiveDocument.Selection.NewLine
	ActiveDocument.Selection = "// Date:   " & Now
	ActiveDocument.Selection.NewLine
	ActiveDocument.Save
'End Recording

End Sub

Sub CreateFunctionDescriptionFile()
'DESCRIPTION: This function copies the function declarations 
' from a C/C++ file to an HTML file and creates a description 
' of the function.

'Create an HTML file for storing the information about a function
	CurrentSourceFileName = ActiveDocument.FullName
	TempString = CurrentSourceFileName
	Position = InStrRev(TempString,".")
    CurrentHTMLFileName = Left(TempString, Position) + "html"
	
	Documents.Add "Text"
	ActiveDocument.Save CurrentHTMLFileName
	ActiveDocument.Language = "HTML - IE 3.0"

'Create header for HTML File
	ActiveDocument.Selection = "<HTML>"
	ActiveDocument.Selection.NewLine
	ActiveDocument.Selection = "<HEAD>"
	ActiveDocument.Selection.NewLine
	ActiveDocument.Selection = "<TITLE>" & ActiveDocument.Name & "</TITLE>"
	ActiveDocument.Selection.NewLine
	ActiveDocument.Selection = "</HEAD>"
	ActiveDocument.Selection.NewLine
	ActiveDocument.Selection = "<BODY>"
	ActiveDocument.Selection.NewLine

'Document the first function and get its line number
	Documents(CurrentSourceFileName).Active = True
	ActiveDocument.Selection.StartOfDocument
	ActiveDocument.Selection.FindText "{"
	'Copy the function declaration
	LineNumber = ActiveDocument.Selection.CurrentLine
	ActiveDocument.Selection.LineUp
	ActiveDocument.Selection.EndOfLine dsExtend
	FunctionText = ActiveDocument.Selection.Text

	'Copy the function declaration to the HTML file
	' and create a description of the function
	Documents(CurrentHTMLFileName).Active = True
	ActiveDocument.Selection.NewLine
	OutputDescription FunctionText
	ActiveDocument.Selection.NewLine

'Move to the end of the first function and search the 
' rest of the source document for functions making sure
' not to document the first function again.
	Documents(CurrentSourceFileName).Active = True
	ActiveDocument.Selection.LineDown
	ExecuteCommand "GoToMatchBrace"
	ActiveDocument.Selection.LineDown
	While (ActiveDocument.Selection.FindText("{") = True _
	   And ActiveDocument.Selection.CurrentLine > LineNumber)
		'Copy the function declaration
		ActiveDocument.Selection.LineUp
		ActiveDocument.Selection.EndOfLine dsExtend
		FunctionText = ActiveDocument.Selection.Text

		'Copy the function declaration to the HTML file
		' and create a description of the function
		Documents(CurrentHTMLFileName).Active = True
		OutputDescription FunctionText
		ActiveDocument.Selection.NewLine

		'return to the source file and move to the end
		' of the function.
		Documents(CurrentSourceFileName).Active = True
		ActiveDocument.Selection.LineDown
		ExecuteCommand "GoToMatchBrace"
		ActiveDocument.Selection.LineDown
    Wend

'Create end of HTML File and close
	Documents(CurrentHTMLFileName).Active = True
	ActiveDocument.Selection = "</BODY></HTML>"
	ActiveDocument.Selection.NewLine
	ActiveDocument.Save

'Return 
End Sub


Dim ParamArr ()  ' Dynamic array to store function arguments.

'Strips the leading tab spaces. 
Function StripTabs (ByVal MyStr)
	Do While InStr(MyStr, vbTab) <> 0
		MyStr = Right(MyStr, Len(MyStr) - InStr(MyStr, vbTab)) 
	Loop 
	StripTabs = Trim(MyStr)
End Function

Sub OutputDescription(ByVal Description)
'DESCRIPTION: Create an HTML description of the function 
' passed in using the Description varaible. Based on 
' AddFunctionDescription macro in Microsofts Samples

	Header = StripTabs(Trim(Description))

	'Get the function return type.
	if Header <> "" then
		Reti = InStr(Header, " ")
		Loc = InStr(Header, "(")
		if Reti < Loc Then
		  RetTp = Left(Header, Reti)
		  Header = Right(Header, Len(Header) - Reti)
		End If

		'Get the function name.
		Loc = InStr(Header, "(") - 1
		Loc2 = InStr(Header, ")")
		if Loc > 0 And Loc2 > 0 then 'make sure there is a '(' and a ')'
			fcName = Left(Header, Loc)
			Header = Right(Header, Len(Header) - Len(fcName))

			'Do we have storage type on the return type?
			Trim (fcName)
			If InStr(fcName," ") <> 0 Then
				retTp = retTp + Left(fcName,InStr (fcName," "))
				fcName = Right(fcName, Len(fcName) - InStr(fcName," "))
			End If

			'Get the function parameters.
			iPrm = 0
			iPrmA = 0
			prms = Header 

			'Count the number of parameters. 
			Do While InStr(prms, ",") <> 0
				iPrm = iPrm + 1
				prms = Right(prms, Len(prms) - InStr(prms, ",")) 
			Loop 
			
			'Store the parameter list in the array.
			If iPrm > 0 Then  ' If multiple params.
				iPrm = iPrm + 1
				iPrmA = iPrm
				Redim ParamArr(iPrm)
				Do While InStr(header, ",") <> 0
					ParamArr(iPrm) = Left(Header, InStr (Header, ",") - 1)
					'Remove brace from first parameter.
					If InStr(ParamArr(iPrm), " (") <> 0 Then
						ParamArr(iPrm) = Right(ParamArr(iPrm), _
								Len(ParamArr(iPrm))-InStr(ParamArr(iPrm)," ("))
						Trim(ParamArr(iPrm))
					End If
					Header = Right(Header, Len(Header) - InStr(Header,","))
					iPrm = iPrm - 1 
					Loop 
				ParamArr(iPrm) = Header 
				'Remove trailing brace from last parameter.
				If InStr(ParamArr(iPrm), ")") <> 0 Then
					ParamArr(iPrm) = Left(ParamArr(iPrm), _
							InStr(ParamArr(iPrm), ")") - 1)
					Trim(ParamArr(iPrm))
				End If
			Else 'Possibly one param.
				Redim ParamArr(1)
				Header = Right(Header, Len(Header) - 1) ' Strip the first brace.
				Trim(Header)
				ParamArr(1) = StripTabs(Header)
				If InStr(ParamArr(1), ")") <> 1 Then
					ParamArr(1) = Left(ParamArr(1), InStr(ParamArr(1), ")") - 1)
					Trim(ParamArr(1))
					iPrmA = 1
				End If
			End If

			'Position the cursor one line above the selected text.
			ActiveDocument.Selection.LineUp
			ActiveDocument.Selection.LineDown
			ActiveDocument.Selection.StartOfLine
			ActiveDocument.Selection = vbLf

			Descr = "<TR><TD><B>Function name</B></TD><TD>" + fcName + _
					"</TD></TR><TR><TD><B>Description</B>" + _ 
					"</TD></TR><TR><TD><B>Return type</B>" + _
					"</TD><TD>" + RetTp + "</TD></TR>"
			
			'Print the parameter list. 
			Last = iPrmA
			Do While iPrmA <> 0
				'Remove a line feed from any of the arguments.
				If InStr(ParamArr(iPrmA), vbLf) <> 0 Then
					ParamArr(iPrmA) = Right(ParamArr(iPrmA), _
							(Len(ParamArr(iPrmA)) - _
							InStr(ParamArr(iPrmA), vbLf)))
					Trim(ParamArr(iPrmA))
				End If
				ParamArr(iPrmA) = StripTabs(ParamArr(iPrmA))
				'If there are 2+ parameters, the first parameter will 
				'have a '(' prepended to it, remove it here:
				if iPrmA = Last AND Last <> 1 then
				  ParamArr(iPrmA) = Right(ParamArr(iPrmA), _
						Len(ParamArr(iPrmA)) - 1)
				End If
				Descr = Descr + "<TR><TD><B>Argument</B></TD>" + _
						"<TD>" + ParamArr(iPrmA) + "</TD></TR>"
				iPrmA = iPrmA - 1
			Loop
			ActiveDocument.Selection = "<TABLE>" + vbLF + _
			      "<TH COLSPAN=2><BIG>" + Description + _
				  "</BIG></TH>" + vbLF & Descr & "</TABLE><BR>" + vbLF
		Else
			MsgBox("It is possible that the function you are trying to"+_
					" work with has a syntax error.")
		End if
	End If
End Sub

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
婷婷成人综合网| 国产精品灌醉下药二区| **性色生活片久久毛片| 国产成人精品午夜视频免费| 成人激情文学综合网| 91超碰这里只有精品国产| 亚洲六月丁香色婷婷综合久久 | 久久亚洲免费视频| 日韩电影一区二区三区四区| 欧美日韩国产不卡| 一区二区三区资源| 欧美在线观看一区二区| 亚洲猫色日本管| 色悠悠亚洲一区二区| 一区二区三区在线观看网站| 99精品热视频| ...中文天堂在线一区| 色综合色狠狠综合色| 亚洲色图制服丝袜| 色婷婷久久久综合中文字幕| 一区二区三区精密机械公司| 欧美精品一二三| 日韩av电影免费观看高清完整版在线观看 | 亚洲你懂的在线视频| 91亚洲国产成人精品一区二区三| 亚洲天堂精品在线观看| 欧美色综合久久| 久久狠狠亚洲综合| 国产日韩欧美电影| av在线这里只有精品| 亚洲精品国产第一综合99久久| 色综合久久88色综合天天6| 中文字幕一区二区三区乱码在线| 91蝌蚪porny| 日韩精品成人一区二区在线| 久久午夜电影网| av成人动漫在线观看| 亚洲一区在线电影| 日韩欧美一区中文| 成人app软件下载大全免费| 亚洲国产视频一区| 久久免费午夜影院| 欧美偷拍一区二区| 国产美女主播视频一区| 尤物视频一区二区| 久久久国产精品麻豆| 91久久免费观看| 久久成人av少妇免费| 亚洲精品久久嫩草网站秘色| 欧美成人精品福利| 丁香六月综合激情| 天使萌一区二区三区免费观看| 日韩精品专区在线| 成人丝袜视频网| 美女一区二区三区在线观看| 国产精品久久精品日日| 91精品国产综合久久福利软件| 久草热8精品视频在线观看| 国产精品久久精品日日| 欧美日韩黄色一区二区| 成人免费看视频| 青青草成人在线观看| 亚洲日本一区二区| 久久久久久久国产精品影院| 欧美日韩国产首页| a亚洲天堂av| 国产盗摄精品一区二区三区在线| 午夜精品久久久久| 一区二区三区不卡视频在线观看| 日韩一区二区三区av| 91啪亚洲精品| 福利电影一区二区| 蜜桃视频在线观看一区| 亚洲最快最全在线视频| 国产欧美精品一区二区色综合朱莉| 欧美日韩高清一区二区不卡| av一区二区三区在线| 麻豆精品一区二区三区| 亚洲免费在线观看| 国产女人aaa级久久久级| 欧美va亚洲va| 日韩欧美资源站| 日韩一二三区视频| 欧美视频在线不卡| 色偷偷久久人人79超碰人人澡 | 国产在线精品一区二区夜色| 一个色妞综合视频在线观看| 国产精品免费人成网站| 国产日产欧美一区| 欧美大片日本大片免费观看| 欧美男男青年gay1069videost| 欧美亚洲图片小说| 99国产精品久久久久久久久久久 | 夫妻av一区二区| 韩国欧美国产1区| 国产最新精品精品你懂的| 紧缚捆绑精品一区二区| 麻豆一区二区在线| 精品亚洲porn| 国产一区二区在线影院| 国产精品资源在线看| 国产剧情av麻豆香蕉精品| 国产成人aaa| 成人av免费网站| 99久久伊人网影院| 91视视频在线直接观看在线看网页在线看| 北岛玲一区二区三区四区| 99久久久精品免费观看国产蜜| 97精品视频在线观看自产线路二| 白白色 亚洲乱淫| av福利精品导航| 99久久国产综合色|国产精品| 99久久综合色| 欧美日本一区二区在线观看| 欧美一级一区二区| 欧美va亚洲va国产综合| 国产欧美日韩在线| 亚洲天堂2014| 香蕉av福利精品导航 | 成人性视频网站| 色999日韩国产欧美一区二区| 欧美色倩网站大全免费| 日韩欧美成人午夜| 中文字幕精品综合| 亚洲麻豆国产自偷在线| 男男视频亚洲欧美| 国产99一区视频免费| 日本精品视频一区二区| 91精品国产福利在线观看| 久久久久97国产精华液好用吗| 亚洲欧洲精品一区二区精品久久久| 亚洲亚洲人成综合网络| 久久99精品久久久久久动态图| 波多野结衣中文字幕一区| 欧美日韩的一区二区| 久久综合久久鬼色中文字| 综合分类小说区另类春色亚洲小说欧美| 亚洲国产精品人人做人人爽| 国产精品一区在线| 91极品美女在线| 精品粉嫩aⅴ一区二区三区四区| 国产精品久久久久久久久快鸭| 爽爽淫人综合网网站| 国产成人在线免费| 欧美在线不卡视频| 久久久久高清精品| 亚洲成在线观看| 成人国产精品视频| 日韩西西人体444www| 亚洲美女免费视频| 国产精品中文字幕一区二区三区| 欧美三日本三级三级在线播放| 久久久亚洲精品石原莉奈| 亚洲国产另类精品专区| 成人黄色777网| 精品剧情在线观看| 亚洲午夜在线电影| 成人免费视频一区二区| 欧美不卡一区二区三区四区| 夜夜嗨av一区二区三区| 成人精品免费看| 久久夜色精品国产噜噜av | 久久精品久久精品| 日本福利一区二区| 国产欧美日韩在线观看| 久久97超碰色| 欧美一区二区福利视频| 亚洲国产精品久久久男人的天堂| 国产成人综合在线播放| 日韩精品一区二区三区视频播放| 亚洲五码中文字幕| 色综合天天综合色综合av| 国产日韩欧美精品在线| 精品一区二区三区香蕉蜜桃 | eeuss鲁一区二区三区| 久久免费的精品国产v∧| 亚洲电影在线免费观看| 色噜噜久久综合| 中文字幕一区二区三区在线播放| 国产成人精品aa毛片| 日韩免费在线观看| 免费美女久久99| 91精品啪在线观看国产60岁| 一区二区高清在线| 91在线精品一区二区| 中文字幕一区二区三区不卡在线 | 91精品国产综合久久婷婷香蕉| 亚洲一区二区三区免费视频| 一本色道久久综合狠狠躁的推荐 | 99久久99久久免费精品蜜臀| 国产婷婷精品av在线| 韩国欧美一区二区| 精品久久久网站| 国产在线精品一区二区夜色| 亚洲精品一区在线观看| 国产一区二区三区黄视频| 久久久99精品久久| 国产精品一区二区黑丝| 国产色综合久久| 成人av在线一区二区|