O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C++ Application Development with Code::Blocks

Book Description

Using Code::Blocks it’s possible for C++ developers to create application consistency across multiple platforms. This book takes you through the process from installation to implementing advanced features, all with a user-friendly approach.

  • Successfully install and configure Code::Blocks for C++ development
  • Perform rapid application development with Code::Blocks
  • Work with advanced C++ features including code debugging and GUI toolkits

In Detail

Code::Blocks is a free C++ IDE designed to meet the extensive demands of C++ developers. Code::Blocks is very extensible and can be easily configured to maintain a consistent look and feel in your application across multiple platforms. If you are looking to develop cross-platform applications using C++, then this book is for you.

This book provides practical explanations for application development with C++ and Code::Blocks. You will get to grips with the many aspects of professional application development with the help of real-life examples. As you proceed through the chapters, you will see yourself effectively working with and implementing advanced C++ features in your application.

The book begins with an introduction to Code::Blocks and detailed instructions on how to install and configure it. You are then introduced to the process of application development with the help of real-life examples. Throughout the course of the book, you will learn how to develop GUI-based applications painlessly. The book also places special emphasis on debugging the application. The later sections take a closer look at using third party C++ libraries and how to implement wxWidgets to develop cross-platform applications. By the end of this book, you will know everything you need to know about C++ application development with Code::Blocks.

Table of Contents

  1. C++ Application Development with Code::Blocks
    1. Table of Contents
    2. C++ Application Development with Code::Blocks
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Getting Started with Code::Blocks
      1. Why Code::Blocks?
      2. Installing Code::Blocks on Windows
      3. Installing Code::Blocks on Linux
      4. First run
      5. Introduction to important toolbars
        1. Main toolbar
        2. Compiler toolbar
        3. Debugger toolbar
      6. Summary
    9. 2. App Development with Code::Blocks
      1. Creating your first app with Code::Blocks
      2. Project in Code::Blocks
      3. Project with multiple files
      4. Debug versus release target
      5. Project with external library
      6. Workspace
      7. Summary
    10. 3. App Debugging with Code::Blocks
      1. Introduction to debugging in Code::Blocks
      2. First app debugging
      3. Multiple app debugging
      4. Summary
    11. 4. Windows App Development with Code::Blocks
      1. First Windows app
        1. Windows App and Unicode
      2. Event driven Windows app
      3. wxWidgets GUI toolkit
      4. Rapid app development with wxSmith
        1. Exercise
      5. Summary
    12. 5. Programming Assignment
      1. Developing MyPaint – an image viewer
      2. Anatomy of exercise app
      3. Solution of exercise problem
      4. Summary
    13. A. Appendix
      1. Scripting Code::Blocks
      2. Documentation generation
      3. Management of code snippets
      4. Use of external tools for a project
      5. Exporting source code in different format
    14. Index