C++ Application Development with Code::Blocks
()
About this ebook
Related to C++ Application Development with Code::Blocks
Related ebooks
API Design for C++ Rating: 3 out of 5 stars3/5Instant MinGW Starter Rating: 0 out of 5 stars0 ratingsAndroid System Programming Rating: 5 out of 5 stars5/5Boost.Asio C++ Network Programming - Second Edition Rating: 0 out of 5 stars0 ratingsQt 5 Blueprints Rating: 4 out of 5 stars4/5Mastering Android Application Development Rating: 5 out of 5 stars5/5Python GUI Programming Cookbook - Second Edition Rating: 5 out of 5 stars5/5C++ Windows Programming Rating: 0 out of 5 stars0 ratingsC in 30 Pages Rating: 5 out of 5 stars5/5Learning Boost C++ Libraries Rating: 0 out of 5 stars0 ratingsBeginning C++ Game Programming Rating: 5 out of 5 stars5/5C Programming Concepts Rating: 0 out of 5 stars0 ratingsIntroduction to C++ Programming Rating: 3 out of 5 stars3/5Learn C++ Rating: 4 out of 5 stars4/5C++ Programming Language: Simple, Short, and Straightforward Way of Learning C++ Programming Rating: 4 out of 5 stars4/5C++17 STL Cookbook Rating: 3 out of 5 stars3/5C# 2.0: Practical Guide for Programmers Rating: 5 out of 5 stars5/5C# For Beginners: An Introduction to C# Programming with Tutorials and Hands-On Examples Rating: 0 out of 5 stars0 ratingsBeginning C++ Programming Rating: 3 out of 5 stars3/5C++ Programming Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsBoost.Asio C++ Network Programming Cookbook Rating: 0 out of 5 stars0 ratingsC# Programming Illustrated Guide For Beginners & Intermediates: The Future Is Here! Learning By Doing Approach Rating: 0 out of 5 stars0 ratingsProgramming Microcontrollers in C Rating: 5 out of 5 stars5/5C Programming Language Essentials Rating: 4 out of 5 stars4/5The C++ Workshop: Learn to write clean, maintainable code in C++ and advance your career in software engineering Rating: 0 out of 5 stars0 ratingsMastering Embedded Linux Programming Rating: 5 out of 5 stars5/5Modern C++ Programming Cookbook Rating: 5 out of 5 stars5/5
Programming For You
Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming Rating: 0 out of 5 stars0 ratingsLearn JavaScript in 24 Hours Rating: 3 out of 5 stars3/5Web Designer's Idea Book, Volume 4: Inspiration from the Best Web Design Trends, Themes and Styles Rating: 4 out of 5 stars4/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsPython: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5C++ Learn in 24 Hours Rating: 0 out of 5 stars0 ratingsPYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Linux: Learn in 24 Hours Rating: 5 out of 5 stars5/5Unreal Engine from Zero to Proficiency (Foundations): Unreal Engine from Zero to Proficiency, #1 Rating: 0 out of 5 stars0 ratingsHTML in 30 Pages Rating: 5 out of 5 stars5/5Beginning Programming with Python For Dummies Rating: 3 out of 5 stars3/5
Reviews for C++ Application Development with Code::Blocks
0 ratings0 reviews
Book preview
C++ Application Development with Code::Blocks - Biplab Kumar Modak
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
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 (<mediakitchenuk@gmail.com>)
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.
I want to thank Mr. Rabindra Prakash Sarkar for introducing me to the world of programming.
I also want to thank my parents for their support, encouragement, and blessings. I thank my wife, Ishita, for her support all these years. I would also like to thank Pampa, Pradip, Bubai, Shyamali Das and her family, Jibananda Mukherjee, all other family members, Atish, and my in-laws for their support and encouragement.
About the Reviewers
Zhia Chong is a young tech entrepreneur based in Seattle, WA. His background in technology ranges from C/C++ to Python. He recently graduated Magna Cum Laude from Gonzaga University with a Bachelor's degree in Computer Science and currently works for PaperG, a young startup in Seattle. He dedicates most of his time for writing beautiful, elegant code, and understanding business dynamics in the startup industry. He dreams of building his own successful startup.
He can be easily contacted via e-mail at <zhiachong@gmail.com> or his through website zhiachong.com.
Lee Zhi Eng is a 3D artist-turned-programmer. He has worked as a game artist and game programmer in several local game studios in his country; before becoming a contractor and a part-time lecturer at a local university, teaching game development subjects, in particularly related to Unity Engine, and Unreal Development Kit. You can find more information about him at http://www.zhieng.com.
Abhishek Gupta is a software engineer who has worked in the area of Automotive In-Vehicle Infotainment (IVI) since last two years. He has worked on a software-based HD video conferencing system as part of his MTech in Visual Information and Embedded Systems at IIT Kharagpur, India, in 2011.
He is passionate about video processing and loves to work on embedded multimedia systems.
Dinesh Subedi is a software developer at Yomari Incorporated Pvt. Ltd. He is currently working on data warehouse technology and business intelligence. He is a blogger at www.codeincodeblock.com. He writes writes articles related to software development using Code::Blocks IDE and has four years of experience in it.
He