當前位置:編程學習大全網 - 編程語言 - 急急急!!鄙人學習c語言請教大家vc編輯器怎麽用的啊,急!

急急急!!鄙人學習c語言請教大家vc編輯器怎麽用的啊,急!

1.新建壹個文本文檔,把後綴名改為.cpp,然後雙擊就可以用VC編輯了。

2.調試時:設置斷點F9,單步運行F10

快捷鍵如下

F1: 幫助

Ctrl+O :Open

Ctrl+P :Print

Ctrl+N :New

Ctrl+Shift+F2 :清除所有書簽

F2 :上壹個書簽

Shift+F2 :上壹個書簽

Alt+F2 :編輯書簽

Ctrl+F2 :添加/刪除壹個書簽

F12 :Goto definition

Shift+F12 :Goto reference

Ctrl+'Num+' :Displays the next symbol definition or reference

Ctrl+'Num-' :Displays the previous symbol definition or reference

Ctrl+J/K :尋找上壹個/下壹個預編譯條件

Ctrl+Shift+J/K :尋找上壹個/下壹個預編譯條件並將這壹塊選定

Ctrl+End :文檔尾

Ctrl+Shift+End :選定從當前位置到文檔尾

Ctrl+Home :文檔頭

Ctrl+Shift+Home :選定從當前位置到文檔頭

Ctrl+B/Alt+F9 :編輯斷點

Alt+F3/Ctrl+F :查找

F3 :查找下壹個

Shift+F3 :查找上壹個

Ctrl+]/Ctrl+E :尋找下壹半括弧

Ctrl+Shift+] :尋找下壹半括弧並選定括弧之間的部分(包括括弧)

Ctrl+Shift+E :尋找下壹半括弧並選定括弧之間的部分(包括括弧)

F4 :尋找下壹個錯誤/警告位置

Shift+F4 :尋找上壹個錯誤/警告位置

Shift+Home :選定從當前位置到行首

Shift+End :選定從當前位置到行尾

Ctrl+L :剪切當前行

Ctrl+Shift+L :刪除當前行

Alt+Shift+T :交換當前行和上壹行

Ctrl+Alt+T :Brings up the completion list box

Shift+PageDown :選定從當前位置到下壹頁當前位置

Shift+PageUp :選定從當前位置到上壹頁當前位置

Ctrl+Shift+Space:顯示函數參數的Tooltip

Ctrl+Z/Alt+Backspace :Undo

Ctrl+Shift+Z/Ctrl+Y :Redo

F8 :當前位置變成選定區域的頭/尾(再移動光標或者點鼠標就會選定)

Ctrl+Shift+F8 :當前位置變成矩形選定區域的頭/尾(再移動光標或者點鼠標就會選定)

Alt+F8 :自動格式重排

Ctrl+G :Goto

Ctlr+X/Shift+Del:Cut

Ctrl+C/Ctrl+Ins :Copy

Ctrl+V/Shift+Ins:Paste

Ctrl+U :將選定區域轉換成小寫

Ctrl+Shift+U :將選定區域轉換成大寫

Ctrl+F8 :當前行變成選定區域的頭/尾(再移動上下光標或者點鼠標就會選定多行)

Ctrl+Shift+L :刪除從當前位置到行尾

Ctrl+Shift+8 :將所有Tab變成`或者還原

Ctrl+T :顯示變量類型

Ctrl+↑ :向上滾屏

Ctrl+↓ :向下滾屏

Ctrl+Del :刪除當前單詞的後半截(以光標為分割)

Ctrl+Backspace :刪除當前單詞的前半截(以光標為分割)

Ctrl+← :移到前壹個單詞

Ctrl+→ :移到後壹個單詞

Ctrl+Shift+← :選定當前位置到前壹個單詞

Ctrl+Shift+→ :選定當前位置到後壹個單詞

Ctrl+Shift+T :將本單詞和上壹個單詞互換

Alt+0 :Workspace Window

Alt+2 :Output Window

Alt+3 :Watch Window

Alt+4 :Variables Window

Alt+5 :Registers Window

Alt+6 :Memory Window

Alt+7 :CallStack Window

Alt+8 :Disassembly Window

Ctrl+W :ClassWizard

Alt+Enter :屬性

Alt+F7 :Project Settings

F7 :Build

Ctrl+F7 :Compile

Ctrl+F5 :Run

Ctrl+Break :Stops the build

F5 :Go

Ctrl+F10 :Run to cursor

F11 :step into

Alt+F10 :Apply codes changes

Ctrl+F9 :Enable/Disable a breakpoint

Alt+F11 :將 Memory Window 切換到下壹種顯示模式

Alt+Shift+F11 :將 Memory Window 切換到上壹種顯示模式

Ctrl+Shift+F9 :去掉所有斷點

Ctrl+Shift+F5 :Restarts the program

Ctrl+Shift+F10 :將當前行設為下壹條指令執行的行

Alt+Num* :滾動到當前指令

Shift+F11 :跳出當前函數

F9 :斷點

F10 :step over

Shift+F5 :停止 Debugging

Ctrl+F11 :Switches between the source view and the disassembly view for this instruction

Alt+F12 :Queries on the selected object or current context

Alt+F6 :Toggles the docking feature for the window on/off

Shift+Esc :隱藏窗口

Ctrl + F3 向下查找下壹個當前光標所在位置的單詞

Ctrl + Shift + F3 向上查找下壹個當前光標所在位置的單詞

Ctrl+Shift+G :?

Ctrl+* :?

Ctrl+Space :?

Ctrl+F3 :?

Ctrl+Shift+F3 :?

Ctrl+D :?

Ctrl+I :?

Ctrl+Shift+I :?

F6 :?Activates the next pane

Shift+F6 :?Activates the previous pane

Ctrl+M :?Detects duplicate mnemonics in the resource

Ctrl+TAB

Ctrl+u:大寫變小寫

Ctrl+SHIFT+u:小寫變大寫

Ctrl+}括號配對

  • 上一篇:假如1萬個現代人回到150萬年前,需要多久才能造出來計算機?
  • 下一篇:黑客帝國3先知是什麽意思?
  • copyright 2024編程學習大全網