zoukankan      html  css  js  c++  java
  • code::blocks

    ___my code blocks  int  4bytes

    ___set main paramter ,your input  starts from argv[1]

    argv[0] is, by convention,the name by which the program was invoked(eg, 路径\temp.exe).

    With code::blocks you can set your command line arguments like this in the menu:

    Project > Set programs' arguments...

    ___________________________________________----

    ------------------Debug shortcut------------------------

    debug:          F8

    continue debugging:   ctrl + F7

    step over a code block:  F7

    step into a code block:  shift+F7

    step out of a code block: ctrl+shift+F7

    toggle breakpoint:    F5

    run to cursor:      F4

    previous error:      Alt+F1

    next error:        Alt+F2

    completing code     shift+D

    ------------------------------------------------------------------------------------------

    2. Workspace interface and structure

    2.1 workspace and projects

    In CodeBlocks, multiple projects can be open. 

    Complex software systems consist of components which are managed in di
    erent Code-Blocks projects. Furthermore, with the generation of such software systems, there are

    often dependencies between these projects.

     

    Example

    A project A contains fundamental functions which are made available to other projects in

    the form of a library. Now, if the sources of this project are modied, then the library has

    to be rebuilt. To maintain consistency between a project B which uses the functions and

    project A which implements the functions, project B has to depend on project A. The

    necessary information on the dependencies of projects is stored in the relevant workspace,

    so that each project can be created separately. The usage of dependencies makes it also

    possible to control the order in which the projects will be generated. The dependencies for

    projects can be set via the selecting the menu 'Project' !'Properties' and then clicking

    the 'Project's dependencies' button.

     

    2.2

    1.11.4 Switching between perspectives

    By using the command line option --personality=ask during the start of CodeBlocks,dierent settings can be selected.

     

    To save a perspective, select the menu 'View' !'Perspectives' !'Save current' and enter a

    name at <name>. 

    The command 'Settings' !'Editor' !'Keyboard shortcuts' !'View'!'Perspectives' !'<name>' allows a keyboard shortcut to be defined for this process.

    This mechanism makes it possible to switch between dierent views by simply using hot keys.

     

    Note:

    Another example is editing a file in Full Screen mode without symbol

    bars. You can create a perspective such as 'Full' and assign a hot key

    for this purpose

    2.3

    1.11.5 Switching between projects

    Alt-F5 Activates the previous project from the project view.

    Alt-F6 Activates the next project from the project view.

    F11 Switches within the editor between a source le <name>.cpp and the corresponding header le <name>.h

    ----------------------------

    http://blog.csdn.net/jgood/article/details/5252119

  • 相关阅读:
    java错误分析之junit测试错误(实验一)
    oracle逐步学习总结之oracle分页查询(基础三)
    OracleServer总结进阶之系统分析(进阶完结)
    QMS 的趨勢概述
    Python 類別 class 的繼承 Inheritance
    Python 面向導向語言 Object Oriented Programming Language
    Python 參考資源
    Dynamics 365-CRM又报看不懂的错误了
    Dynamics 365-为什么查到的Record的Id是Guid初始值
    Dynamics 365-如何下载新版本的Tools
  • 原文地址:https://www.cnblogs.com/aprilapril/p/2764470.html
Copyright © 2011-2022 走看看