Welcome![Sign In][Sign Up]
Location:
Search - container s-function

Search list

[GUI Developbrew window manager

Description:

 

Objective
This topic describes how to create a windowed application that will share the display with other applications.
Brew® MP windowed applications need to be written differently than traditional Brew MP applications. Traditional Brew MP applications, when running in the foreground, occupy full screen space and can modify the display at any time. In the windowing framework, multiple applications share the display at the same time and are not allowed to modify the display arbitrarily. A windowed application also needs to create one or more widgets to be used to create the windows.
A windowed application needs to:
·                  Create and initialize one or more widgets to be passed to IWindowMgr_CreateWindow().
The application can implement its own IWidget, or it can make use of an existing IWidget.
·                  Handle the EVT_APP_START_WINDOW event (and create a window).
·                  Implement handlers for visibility changes, focus changes, and extent changes. The implementation of these handlers is dependent on the details of the application.
·                  Draw in two stages:
·                                  Tell the container that drawing is necessary (ICONTAINER_Invalidate()).
·                                  Draw only when told to draw by the container (IWIDGET_Draw()).
Note: A windowed application should not call any functions that modify IDisplay directly. This includes explicit IDisplay function calls or implicit updates, such as calls to IIMAGE_Draw() or ICONTROL_Redraw(). Drawing should happen only on demand, for example, when IWIDGET_Draw() is called for the widget used to create the window. Existing Widget based applications follow these guidelines and, with minor modifications, can be ported to the windowing framework.
Event handling
A windowed application must respond to these events:
EVT_APP_START_WINDOW and EVT_APP_START
A window-based application receives EVT_APP_START_WINDOW first. If the application returns TRUE for this event, the application does not receive EVT_APP_START. If an application needs to support both the environments (window based and non-window based), it should handle both events.
When the application receives EVT_APP_START_WINDOW, it should create one or more windows.
If creation of IWindowMgr0 fails while handling EVT_APP_START_WINDOW, the application should assume that the platform does not support window-based applications. In this case, the application should return FALSE and continue the application logic in the code for EVT_APP_START.
EVT_APP_SUSPEND and EVT_APP_RESUME
After an application returns TRUE for EVT_APP_START_WINDOW, it will not receive EVT_APP_SUSPEND and EVT_APP_RESUME as non-windowed Brew MP applications do. Instead, the application must check for window status events that are sent to the widget through EVT_WDG_SETPROPERTY events. For EVT_WDG_SETPROPERTY events, wParam indicates which property was set, and dwParam specifies the value of the property. When the AEEWindowMgrExt_PROPEX_STATE property has a value of AEEWindowMgrExt_STATE_VISIBLE, the window is visible.
EVT_WDG_WINDOWSTATUS
The EVT_WDG_WINDOWSTATUS event is sent to a widget to notify it about various window related status messages. AEEWindowStatus.h contains information on the meaning of various status messages.
Sample code location

ZIP filename
Location
Run app
hellowindowapp
Brew MP Library
·                       Download and extract the ZIP file.
·                       Compile the app.
·                       Run it on the Brew MP Simulator.

Example of a windowed application
In the hellowindowapp sample, HelloWindowApp_HandleEvent handles the EVT_APP_START_WINDOW event and creates soft key and pop-up windows:
   case EVT_APP_START_WINDOW:   
      DBGPRINTF("EVT_APP_START_WINDOW");
 
      // Create the softkey and popup windows
      HelloWindowApp_CreateSoftkey(pMe);
      HelloWindowApp_CreateOrActivatePopup(pMe);
 
      // Handling this event tells Brew that we are a windowing
      // application.
      return TRUE;  
HelloWindowApp_CreateSoftkey() creates the soft key widget, sets the color text of the widget, then calls HelloWindowApp_CreateWindow() to create the window.
   WidgetWindow *pWindow = &pMe->softkeyWindow;
  
   if (pWindow->piWindowWidget != NULL) return;
   pWindow->pszDbgName = "Softkey";
   pWindow->pMe = pMe;
  
   (void) ISHELL_CreateInstance(pMe->applet.m_pIShell, AEECLSID_SoftkeyWidget,
            (void **) &pWindow->piWindowWidget);
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WidgetExtent extent = {0, HWA_SOFTKEY_HEIGHT};
      IWidget_SetExtent(pWindow->piWindowWidget, &extent);
   }
  
   (void) IWidget_SetBGColor(pWindow->piWindowWidget, MAKE_RGBA(200,200,200,255));
  
   // Now set the softkeys text
   {
      IWidget *piTextWidget = NULL;
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY1, &piTextWidget);
     
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Hover", TRUE);
      }
      RELEASEIF(piTextWidget);
 
      (void) IWidget_GetSoftkey(pWindow->piWindowWidget, PROP_SOFTKEY2, &piTextWidget);
      if (piTextWidget != NULL) {
         (void) IWidget_SetText(piTextWidget, L"Close", TRUE);
      }
      RELEASEIF(piTextWidget);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Softkey);  
HelloWindowApp_CreateWindow() creates the soft key window, as follows:
   int result;
   uint32 winId;
   AEEWindowProp propList[1];
  
   // Set custom window handler
   HANDLERDESC_Init(&pWindow->hdHandler, HelloWindowApp_WindowHandler, pWindow, NULL);
   IWIDGET_SetHandler(pWindow->piWindowWidget, &pWindow->hdHandler);
        
   propList[0].id = AEEWindowMgrExtProp_CLASS;
   propList[0].pbyLen = sizeof(winClass);
   propList[0].pby = (void *) &winClass;
     
   result = IWindowMgr_CreateWindow(pMe->piWindowMgr, (IQI*) (void *) pWindow->piWindowWidget,
      propList, ARR_SIZE(propList), &winId);
 
   if (result != SUCCESS) {
      DBGPRINTF("Window creation failed for %s: %d", pWindow->pszDbgName, result);
      HelloWindowApp_DestroyWindow(pWindow);
   } else {
      DBGPRINTF("Window %s created: id=%d", pWindow->pszDbgName, winId);
   }
HelloWindowApp_CreateOrActivatePopup() creates the widget for the pop-up window, then calls HelloWindowApp_CreateWindow() to create the pop-up window.
   pWindow->piWindowWidget = HelloWindowApp_CreateAndInitImageWidget(
                                pMe,
                                "popups.main" // Image as defined in appinfo.ini
                             );
 
   if (pWindow->piWindowWidget == NULL) return;
 
   {
      WExtent extent = {HWA_POPUP_WIDTH, HWA_POPUP_HEIGHT};
      IWIDGET_SetExtent(pWindow->piWindowWidget, &extent);
   }
 
   HelloWindowApp_CreateWindow(pMe, pWindow, AEEWindowMgrExt_CLASS_Popup);
Related information
·                  See Brew MP Widgets Technology Guide: Creating a Widgets application
·                  See Brew MP API Reference

Base version:
Brew MP 1.0
Tested version:
Brew MP 1.0
Phone tested:
No

 

Platform: | Size: 439828 | Author: bluecrest | Hits:

[ActiveX/DCOM/ATLUNIX

Description: 设计模式, the STL has iterators, algorithms, and function objects, but for most C++ programmers, it s the containers that stand out. More powerful and flexible than arrays, they grow (and often shrink) dynamically, manage their own memory, keep track of how many objects they hold, bound the algorithmic complexity of the operations they support, and much, much more. Their popularity is easy to understand. They re simply better than their competition, regardless of whether that competition comes from containers in other libraries or is a container type you d write yourself. STL containers aren t just good. They re really good.-effective STL
Platform: | Size: 44821504 | Author: | Hits:

[Other06

Description: 最优装载方案 成绩: 0 / 折扣: 0.8 试设计一个用队列式分支限界法搜索子集空间树的函数。该函数的参数包括结点可行性判定函数和上界函数等必要的函数,并将此函数用于解装载问题。 装载问题描述如下:有一批共n个集装箱要装上艘载重量为c的轮船,其中集装箱i的重量为wi 。找出一种最优装载方案,将轮船尽可能装满,即在装载体积不受限制的情况下,将尽可能重的集装箱装上轮船。 输入:第一行有2个正整数n和c。n是集装箱数,c是轮船的载重量 接下来的1行中有n个正整数,表示集装箱的重量 输出:最大载重量 例如: 输入: 5 10 7 2 6 5 4 输出: 10-Optimal loading program Results: 0/discount: 0.8 Try to design a queue-type branch and bound by law search a subset of function space tree. The function of the parameters to determine the feasibility of including the node function and the upper bound of the necessary functions, such as function, this function will be loaded for the solution of the problem. Loading problem described as follows: a group of n containers were loaded on ships to load ships for the c, of which the weight of the container i was wi. A program to find the optimal load, the ship filled with as much as possible, that is unrestricted in the loading volume of cases, as far as possible, re-fitted shipping container. Input: the first line there are two positive integers n and c. n is the number of containers, c is the ship s deadweight 1 the next line in a positive integer n, that the weight of the container Output: the maximum load For example: Input: 5 10 72,654 Output: 10
Platform: | Size: 958464 | Author: cj | Hits:

[VC/MFCBeyond_the_Cpp_Standard_Library(ch)

Description: 描述了所有58个Boost库的轮廓,并完整叙述了12个可能最有用的库。Karlsson的 主题范围从智能指针和类型转换,到容器和数据库结构,解释了如何正确地使用每一个库来改进你的代码。他详细论述了可以让你 写出更简明、清晰、易读的代码的高级函数对象。他还带你到Boost的"幕后",看看那些对你创建自己的泛型库有益的工具和技 术。-Describes all 58 Boost libraries outline, and a complete description of 12 may be the most useful libraries. Karlsson' s topics range from smart pointers and type conversion, to the container and the database structure, and explains how to properly use each one library to improve your code. He discussed in detail allows you to write more concise, clear, easy to read high-level function of the object code. He also take you to Boost the " behind the scenes" look at those for you to create your own generic libraries useful tools and techniques.
Platform: | Size: 1668096 | Author: hopper | Hits:

[Software EngineeringEffectiveSTL-revised

Description: Sure, the STL has iterators, algorithms, and function objects, but for most C++ programmers, it s the containers that stand out. More powerful and flexible than arrays, they grow (and often shrink) dynamically, manage their own memory, keep track of how many objects they hold, bound the algorithmic complexity of the operations they support, and much, much more. Their popularity is easy to understand. They re simply better than their competition, regardless of whether that competition comes from containers in other libraries or is a container type you d write yourself. STL containers aren t just good. They re really good.
Platform: | Size: 1233920 | Author: searcher | Hits:

[VC/MFCthinkingincplusplus

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-Author of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, distinctive. The book is divided into 18 chapters, covering the evolution of the object, data abstraction, hiding implementation, initialization and clearance, function overloading and default parameters, input and output stream introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and package container classes, multiple inheritance, exception handling and runtime type identification. The book as a formal teaching and self-learning books are very good, as a program designer' s reference book is also very suitable.
Platform: | Size: 11527168 | Author: onlearning | Hits:

[VC/MFCCProgrammeIdea

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-Author of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, distinctive. The book is divided into 18 chapters, covering the evolution of the object, data abstraction, hiding implementation, initialization and clearance, function overloading and default parameters, input and output stream introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and package container classes, multiple inheritance, exception handling and runtime type identification. The book as a formal teaching and self-learning books are very good, as a program designer' s reference book is also very suitable.
Platform: | Size: 11245568 | Author: 陈龙 | Hits:

[VC/MFCCplusplusProgramming_Thinking

Description: 内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-Concerning the evolution of the object, data abstraction, hiding implementation, initialization and clearance, function overloading and default parameters, input and output stream introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and package container classes, multiple inheritance, exception handling and runtime type identification. The book as a formal teaching and self-learning books are very good, as a program designer' s reference book is also very suitable.
Platform: | Size: 14494720 | Author: jiangjian | Hits:

[Bookscppprogramingmuch

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-Author of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, distinctive. The book is divided into 18 chapters, covering the evolution of the object, data abstraction, hiding implementation, initialization and clearance, function overloading and default parameters, input and output stream introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and package container classes, multiple inheritance, exception handling and runtime type identification. The book as a formal teaching and self-learning books are very good, as a program designer' s reference book is also very suitable.
Platform: | Size: 15261696 | Author: markbluesky | Hits:

[VC/MFCprogrammeidea

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-Book on learning C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into 18 chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output stream description, constants, inline functions, named control, reference and copy constructor, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates and package container classes, multiple inheritance, exception handling and runtime type identification. Book as an official teaching materials and self-learning books are very good, as the program designer' s reference book is also very suitable.
Platform: | Size: 11254784 | Author: Elloit | Hits:

[Algorithmbingreedy

Description: 此源程序为解决一维集装箱装载问题,但是为二维和三维算法提供了很好的思路。-This source code to solve one-dimensional container loading problem, but for the two-dimensional and three-dimensional algorithm provides a very good idea.
Platform: | Size: 1024 | Author: 碧天 | Hits:

[VC/MFCThinking_in_C

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-Book on learning C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into 18 chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output stream description, constants, inline functions, named control, reference and copy constructor, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and package container classes, multiple inheritance, exception handling and runtime type identification. Book as an official teaching materials and self-learning books are very good, as the program designer' s reference book is also very suitable.
Platform: | Size: 27801600 | Author: 苏唯 | Hits:

[Windows DevelopHow_to_use_C_Language

Description: ,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。-With simple examples and concise narrative explaining C++ programming, unique. The book is divided into 18 chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output stream description, constants, inline functions, named control, reference and copy constructor, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and package container classes, multiple inheritance, exception handling and runtime type identification. Book as an official teaching materials and self-learning books are very good, as the program designer' s reference book is also very suitable.
Platform: | Size: 11246592 | Author: bb | Hits:

[Graph Recognizecbcsx

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。 -Of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into eighteen chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output streams introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and the container classes, multiple inheritance, exception handling and runtime type identification. Book as an official textbook, and a self-learning books are very good, as the programmer' s reference book is also very appropriate.
Platform: | Size: 14133248 | Author: | Hits:

[Graph Recognize3

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。 -Of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into eighteen chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output streams introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and the container classes, multiple inheritance, exception handling and runtime type identification. Book as an official textbook, and a self-learning books are very good, as the programmer s reference book is also very appropriate.
Platform: | Size: 2439168 | Author: 焦洋 | Hits:

[VC/MFC4

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,(此为第7至9章)内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。 -Of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into eighteen chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output streams introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and the container classes, multiple inheritance, exception handling and runtime type identification. Book as an official textbook, and a self-learning books are very good, as the programmer s reference book is also very appropriate.
Platform: | Size: 1728512 | Author: 焦洋 | Hits:

[VC/MFC6

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章(此为第13至15章),内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。 -Of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into eighteen chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output streams introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and the container classes, multiple inheritance, exception handling and runtime type identification. Book as an official textbook, and a self-learning books are very good, as the programmer s reference book is also very appropriate.
Platform: | Size: 3022848 | Author: 焦洋 | Hits:

[VC/MFC7

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章(此为第16至18),内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。 -Of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into eighteen chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output streams introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and the container classes, multiple inheritance, exception handling and runtime type identification. Book as an official textbook, and a self-learning books are very good, as the programmer s reference book is also very appropriate.
Platform: | Size: 2262016 | Author: 焦洋 | Hits:

[Graph Recognize2

Description: 本书作者根据自己学习C++的亲身体会及多年教学经验,用简单的例子和简练的叙述讲解C++编程,别具特色。 全书共分十八章,内容涉及对象的演化、数据抽象、隐藏实现、初始化与清除、函数重载与缺省参数、输入输出流介绍、常量、内联函数、命名控制、引用和拷贝构造函数、运算符重载、动态对象创建、继承和组合、多态和虚函数、模板和包容器类、多重继承、异常处理和运行时类型识别。 本书作为正式教材和自学用书均非常优秀,作为程序设计者的参考用书亦极为合适。 - Of this book to learn C++ based on their personal experience and years of teaching experience, using simple examples and concise narrative explaining C++ programming, unique. The book is divided into eighteen chapters, covering the evolution of objects, data abstraction, hiding implementation, initialization and removal, function overloading and default parameters, input and output streams introduced constants, inline functions, named control, reference and copy constructors, operator overloading, dynamic object creation, inheritance and composition, polymorphism and virtual functions, templates, and the container classes, multiple inheritance, exception handling and runtime type identification. Book as an official textbook, and a self-learning books are very good, as the programmer s reference book is also very appropriate.
Platform: | Size: 1680384 | Author: 焦洋 | Hits:

[Data structsGeneric-function

Description: 泛型函数: 总结:使用标准模板库 (STL) C++标准库提供了更为安全,更为灵活的数据集处理方式。 STL的最主要的两个特点:数据结构和算法的分离,非面向对象本质。 访问对象是通过象指针一样的迭代器实现的;容器是象链表,矢量之类的数据结构,并按模板方式提供; 算法是函数模板,用于操作容器中的数据。由于STL以模板为基础,所以能用于任何数据类型和结构。-Generic function: Summary: Using the Standard Template Library (STL) C++ standard library provides a safer, more flexible data collection approach. STL' s main two characteristics: the separation of data structures and algorithms, non-object-oriented nature. Access the object through the same iterator as a pointer implementation container is like linked lists, data structures like vector, according to the template provided algorithm is a function template, the data for the operation of the container. STL to the template-based, it can be used for any data type and structure.
Platform: | Size: 756736 | Author: fdsf | Hits:
« 12 »

CodeBus www.codebus.net