官术网_书友最值得收藏!

Preface

C++ Development with Code::Blocks is a concise and practical guide for application development using C++ and Code::Blocks. This book gives you several examples and step-by-step guides to begin with and then gradually progress to complex application development with C++. It also cleverly uses tutorials to elaborate Code::Blocks features for the readers. This book covers Code::Blocks Version 12.11. However, tutorials will be applicable to newer releases.

What this book covers

Chapter 1, Getting Started with Code::Blocks, will help us to install Code::Blocks on Windows and Linux.

Chapter 2, App Development with Code::Blocks, will help us to develop a simple app, to develop an app as a project, using external libraries with project, and concept of the workspace.

Chapter 3, App Debugging with Code::Blocks, explains the debugger related features offered by Code::Blocks and also to debug single and multiple apps.

Chapter 4, Windows App Development with Code::Blocks, describes how to develop apps using Code::Blocks for the Windows operating system. We will also learn to use wxWidgets and the way to use it for developing cross-platform apps.

Chapter 5, Programming Assignment, explains how to develop an app from scratch using Code::Blocks. We will look at a completed app, dissect it, and then develop it using Code::Blocks.

Appendix, discusses some advanced features of Code::Blocks. We will also learn about documentation generation, exporting source file, and so on in this chapter.

What you need for this book

The following software is required to learn and follow examples demonstrated in the book:

  • Code::Blocks version 12.11.
  • wxWidgets version 2.9.5
  • conio2 library

A compiled copy of the wxWidgets library and conio2 library is provided with this book for your convenience.

Who this book is for

The target audience of this book is C/C++ developers. Prior knowledge of C/C++ compiler is required. This book is suitable for developers who want to learn about Code::Blocks and app development in C++ using it.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

#include <iostream>

int main() {
  std::cout << "Hello World!" << std::endl;
  return 0;
}

Any command-line input or output is written as follows:

g++ -o app4.exe –g –O2 main.cpp

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "clicking the Next button moves you to the next screen".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.

主站蜘蛛池模板: 嵊州市| 宁强县| 海阳市| 江陵县| 都江堰市| 吴堡县| 陆良县| 安龙县| 宝鸡市| 孝感市| 宁武县| 剑川县| 孟津县| 西青区| 神农架林区| 天柱县| 吉安县| 炉霍县| 大宁县| 阜宁县| 井冈山市| 页游| 隆化县| 磐安县| 曲沃县| 黄大仙区| 蒙城县| 南涧| 循化| 苏尼特右旗| 大宁县| 敦煌市| 潞西市| 融水| 武冈市| 阳春市| 武邑县| 郴州市| 崇明县| 安多县| 武陟县|