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
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
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.