C++ Application Development with Code::Blocks
eBook - ePub

C++ Application Development with Code::Blocks

  1. 128 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

C++ Application Development with Code::Blocks

About this book

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.

Approach

This is a comprehensive tutorial with step-by-step instructions on how to develop applications with Code::Blocks.

Who this book is for

This book is for C++ developers who wish to use Code::Blocks to create applications with a consistent look and feel across multiple platforms. This book assumes that you are familiar with the basics of the C++ programming language.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

C++ Application Development with Code::Blocks


Table of Contents

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

C++ Application Development with Code::Blocks

Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2013
Production Reference: 1181013
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-341-5
www.packtpub.com
Cover Image by Paul Steven ()

Credits

Author
Biplab Kumar Modak
Reviewers
Zhia Chong
Lee Zhi Eng
Abhishek Gupta
Dinesh Subedi
Acquisition Editors
Sam Birch
Rebecca Youe
Commissioning Editor
Neil Alexander
Technical Editor
Dipika Gaonkar
Project Coordinator
Sageer Parkar
Proofreader
Ting Baker
Indexer
Hemangini Bari
Graphics
Sheetal Aute
Ronak Dhruv
Disha Haria
Production Coordinator
Aparna Bhagat
Cover Work
Aparna Bhagat

About the Author

Biplab Kumar Modak is a passionate, open-source software developer. He started learning programming at school in the year 1996 with a BBC Micro computer system. The sheer limitation of computing resources in a BBC Micro computer system forced him to think out-of-the-box and sharpened his programming skills. He participated in several software development competitions at school level and won several awards before joining college.
By then he started learning and developing in C and C++ language. He used his C/C++ development skills for his academic and extracurricular projects. He started contributing to the Code::Blocks project in the year 2006 and since then has remained as one of the developers of Code::Blocks. He has also contributed to a few other open source projects. Overall he has about 17 years of freelance software development experience and out of which 14 years in C/C++ development experience.
He is basically an Civil and Structural Engineer by profession. His job involves analyzing and designing tall buildings and other structures. He was one of the key engineers behind recent upgrade of Terminal 1, Singapore Changi Airport, and several public and private housing projects. He spends his free time in learning new technologies and in developing Code::Blocks and other such projects.

Table of contents

  1. C++ Application Development with Code::Blocks

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access C++ Application Development with Code::Blocks by Biplab Kumar Modak in PDF and/or ePUB format, as well as other popular books in Computer Science & Application Development. We have over one million books available in our catalogue for you to explore.