473,508 Members | 2,363 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Book name for multifileing in c++

Hi, i want to learn about multi-fileing in c++ . Can anyone tell me a
good reference book?.
I dont have good idea over multifileing (header files, and
resource file what they do and how it generate object of class in
it).

--
Muzammil Peer
Aug 21 '08 #1
2 1222

"Muzammil" <mu*************@gmail.comwrote in message
news:66**********************************@x41g2000 hsb.googlegroups.com...
Hi, i want to learn about multi-fileing in c++ . Can anyone tell me a
good reference book?.
I think you're talking about the fact that
a C++ program can be divided into multiple
source files. Headers (both standard and user
defined) have their text pasted into a source
file wherever an #include directive appears in
the source file. This combination is known as
a 'translation unit'. Translation units are
separately compiled, and then linked together
along with used items from the standard library
to create the final executable.

Most implementations can do the compile and link
without user intervention, or allow these steps
to be performed 'manually'.
I dont have good idea over multifileing (header files, and
resource file what they do and how it generate object of class in
it).
C++ does not have a concept of 'resource files'; you'll
need to consult support resources for your platform
(Windows?) for that.

Your compiler's documentation
(and/or its vendor's support resources) would be the best
place to learn how to build a multiple-source C++ program.

-Mike
Aug 21 '08 #2
On Aug 21, 8:48*am, Muzammil <muzammilPeer...@gmail.comwrote:
Hi, i want to learn about multi-fileing in c++ . Can anyone tell me a
good reference book?.
I dont *have good *idea over *multifileing (header *files, and
resource file what *they do and how *it generate *object of *class in
it).

--
Muzammil Peer
I think there isn't a book about these things because it completely
ups to coding style that you are using. As Mike said C/C++ have the
opportunity to include files to each 'translation unit' and you can
use this feature whatever you would like to. Basically an include file
is for declare the symbols that you are using not just in your module
but in the other ones to. For example if you have a class it's
declaration could be in a separated header file to reference to this
class from an other module. If you would like see some examples or
specification about this matter you need to have a look to some
detailed code style reference like:
- http://google-styleguide.googlecode....k/cppguide.xml
- http://gcc.gnu.org/onlinedocs/libstd...k01apas03.html
etc.
Aug 22 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3294
by: Chris | last post by:
I'm wondering what is the "best" way to structure a set of info about an item, like a book or a hotel. Eg, let's say you had this info to present for each book in a collection: Title Author...
10
2398
by: Buck Rogers | last post by:
Hi guys! Does anyone have a link to a site that provides up to date programming book reviews? I looked through the reviews at: http://www.accu.org/bookreviews/public/index.htm ...
13
2701
by: Gabriel Reid | last post by:
Greetings, I'm looking for any books that the members of this group may have to recommend for C#. I have experience with a number of programming languages (probably most relevant would have to...
11
3247
by: Robert Schuldenfrei | last post by:
I am an older person trying to learn C# just for the fun of it. I am a veteran of older style languages (COBOL, FORTRAN, etc.) and I want to learn an Object Orientated language. Currently working...
4
5595
by: jchimanzi | last post by:
Please can someone help in correcting the following attempt of the questions below. I have included my attempt at the problem I have been asked to write class definations which does the following...
11
3568
by: fishmonger1972 | last post by:
Hi! I'm a librarian with a little PHP knowledge.. I'm trying to make a catalog from scratch for my library. I don't like the look of the current catalog so I'm trying to make a custom PHP/MySQL...
11
2429
cjbrx3115
by: cjbrx3115 | last post by:
Hey guys- I just got this email from my friend. I'm not sure it will really work (it's a forward), so I'm askin' you people. Well, here it is: ...
263
9072
by: Malcolm McLean | last post by:
The webpages for my new book are now up and running. The book, Basic Algorithms, describes many of the fundamental algorithms used in practical programming, with a bias towards graphics. It...
1
2872
by: Lpitt56 | last post by:
I am running MS Access 2007 and I want to update an Outlook Address book from my Access Database. I started out by importing the Outlook Address Book as a linked table and it linked fine. I then...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.