Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying C++ Application Development with Code::Blocks
  • Table Of Contents Toc
  • Feedback & Rating feedback
C++ Application Development with Code::Blocks

C++ Application Development with Code::Blocks

By : BIPLAB MODAK
2.3 (4)
close
close
C++ Application Development with Code::Blocks

C++ Application Development with Code::Blocks

2.3 (4)
By: BIPLAB MODAK

Overview of this book

Table of Contents (13 chapters)
close
close

Multiple app debugging


Real life projects are large in size and may consist of several sub-projects. It is essential that an IDE allows debugging of large apps spanning across several projects. With Code::Blocks we can do it easily.

To learn multiple app debugging we'll create two projects—first project a DLL project and second one is a console project that depends upon first DLL project. Then save both projects under same workspace named App8.

Go to File | New | Project | Dynamic Link Library menu option to create a DLL project. Name this project libobject. Now rename the libobject project files. We'll rename main.h file to dllmain.h and main.cpp to dllmain.cpp file. To do this, close all open editor files and right-click on the file name in the project tree as shown in the following screenshot:

Enter new file name in the dialog box shown in following screenshot:

This will avoid ambiguities in file names. Now replace code inside dllmain.h file with the following code.

#ifndef __DLLMAIN_H__
...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
C++ Application Development with Code::Blocks
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon