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

  • 相关阅读:
    Android端 配置极光推送
    udev的使用-minicom没有权限打开串口,更改 ttyUSB0 的权限
    【Oracle】RAC删除节点
    Linux学习(二) wget命令的使用
    Struts2拦截器
    SpringMVC实战(三种映射处理器)
    rbd_rados命令拷屏
    网络威胁防护,Azure 靠的是它?
    一块钱使用开发测试环境,助你快速打造万圣节促销应用
    想要快速搭建开发测试环境?这么做就可以!
  • 原文地址:https://www.cnblogs.com/aprilapril/p/2764470.html
Copyright © 2011-2022 走看看