- 1、本文档共28页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
How to use Visual studio IDE to handle your simple C++ project-- take Visual Studio 2008 as the example Xiaoguo zhang School of Instrument Sciece and Engineering Southeast Univ. 2012/09/22 工欲善其事 必先利其器 Step 1 How to create an empty C++ project and add files to the project Step 2 How to build and run your projects Appendix: Some general error reported by Visual studio IDE To be updated for those typical errors reported by Visual Studio… Practices: create two C++ Projects and run them // The 1st C++ programme #include iostream using namespace std; int main() { cout“Hello, world\r\n”; return 0; } * 1. New a project 2. Select [Win32 Console Application] or [Win32 Project] 3. Input your project name 1. Select [Win32] under [Visual C++] 1. Select [Next] so that you can have user-defined behaviors… 1. Select [Consol application] 2. Select “Empty projects” 3. Select [Finish] Here are [Solution view], [Class view], [Resource view], To add files to the project, you can add existing , or new files 1. Select [code] for source code file inputting 2. Select [C++ file] for adding an CPP file 3. Input the file name of the CPP file to be added 3. Select [Add] to add this file 1. A new CPP file is created and input to the current project, now click the file to edit …. Select [Build] Menu Select [Build Solution] 1. Build pass or not will be shown here. 2. If build error, errors will be listed here 3. Otherwise, exe file will be created. Pass building … Select [Debug] Select [Start without debugging] to run it. You also can press the shortcut CTRL_F5 Run the project without in debugging mode … This is the running console Windows, everything will be shown here, input or output. Finally press any key to quit … Select [Debug] Select [start debugging] to run it. You also can press the shortcut F5 Debugging the app How to enable a breakpoint Select [Debug] Select [Toggle breakpoint] Then the current line will be set a breakpoint You also can press F9 to enable a
您可能关注的文档
- 培训课件模板.ppt
- 培训-我为成功而来.ppt
- 培养健康的饮食行为 远离垃圾食品.doc
- 喷射砼大高差斜面基础垫层施工工法.doc
- 批量伤员预案(终稿).ppt
- 啤酒游戏牛鞭效应.ppt
- 偏头痛的治疗.ppt
- 漂亮的花边.ppt
- 拼音与汉字复习.doc
- 品德是男人的灵魂.doc
- 浙江金华市公共资源交易中心永康市分中心编外人员招考聘用笔试历年典型考题及考点研判与答案详解.docx
- 浙江宁波慈溪市政协办公室招考聘用编外工作人员笔试历年典型考题及考点研判与答案详解.docx
- 浙江金华永康市西溪镇人民政府招考聘用笔试历年典型考题及考点研判与答案详解.docx
- 福建南平市公安局建阳分局招考聘用辅警笔试历年典型考题及考点研判与答案详解.docx
- 浙江嘉兴海盐县武原街道基层残疾人工作专职委员(公益岗位)招考聘用笔试历年典型考题及考点研判与答案详解.docx
- 浙江宁波知识产权保护中心招考聘用工作人员笔试历年典型考题及考点研判与答案详解.docx
- 浙江杭州建德市面向2024届普通高校毕业生招考聘用教师(第二批)16人笔试历年典型考题及考点研判与答案详解.docx
- 浙江省台州中学面向2024届普通高校毕业生招考聘用教师12人笔试历年典型考题及考点研判与答案详解.docx
- 湖北师范大学体育学院专任教师招考聘用笔试历年典型考题及考点研判与答案详解.docx
- 重庆市南岸区教育事业单位面向2024届高校毕业生招考聘用114人笔试历年典型考题及考点研判与答案详解.docx
文档评论(0)