answersLogoWhite

0


Best Answer

why does a program consists of more than one object file in c++

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why program consists more than one object file in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What Library and linking of turbo c?

Technically speaking, you can create a useful, functional C program that consists solely of statements involving only the C keywords. However, this is quite rare because C does not provide keywords that perform such things as input/output (I/O) operations, high-level mathematical computations, or character handling. for more details visit: http://free4ebook.com/The%20Library%20and%20Linking.html


What is the difference between linking and embedding?

"Linking" refers to providing a "reference" to the source data; if the source is deleted, the link no longer functions; many different types of files, programs, and programming interfaces refer to displaying externally located data as linking. Linking is advantageous when the data might later change and the program or file that contains the link would benefit from having the latest version of the data. "Embedding" has a slightly different context depending on the context that you are using it. If you are referring to a file (such as a Flash file, Microsoft executable file, and so on), embedding refers to storing the data directly within the other data type. An executable can store Icon files, for example, which alter their presentation on the Desktop or Start Menu by showing an identifying image so users can tell programs apart visually. Embedding in a document file depends on the type of document file in question. Some document files store a copy of the data in the file, while other document formats simply imply that a plugin program is embedded into the document's data. Finally, applications can embed other applications within them during execution. For example, a program could be written to embed an Internet Explorer web viewer into a larger program. When embedding refers to "storing a copy", the benefit is that the source file can be deleted without affecting this dependent file. The disadvantage, of course, is that updates to the source data require updating the dependent file through whatever means available (applications have to be recompiled, documents have to be edited, etc). When embedding refers to "running a copy of a program within another program", there are many advantages: less code has to be used each time a component is reused, the component can be upgraded independently of the main program, and a component can crash without crashing the entire application (possibly including recovering data from the failed component). The disadvantage of embedding is, of course, memory usage will be higher than having a single, unified program.


What is meaning of default program in computer?

default program is an application that opens a file when you double-click it. For example, if you double-click a .TXT file in Windows and it automatically opens in Notepad, then Notepad is the default program for files with a ".txt" extension. If the file opens in Microsoft Word, then Microsoft Word is the default program. Default programs are necessary since many file types can be opened by more than one program. For example, your computer may have over a dozen applications that can open .JPG files. Therefore, theoperating system needs to know which program to open by default when you double-click a JPEG image file. Both Windows and Macintosh computers store a list of default programs for each file extension. These relationships between programs and file extensions are also called "file associations." Both the Windows and Macintosh operating systems allow you to change file associations if you don't like the default program that is associated with a certain file type. For example, if you prefer to play MP3 files in iTunes rather than Windows Media Player, you can change the ".mp3" file association to iTunes. This will set iTunes as the default program for all .MP3 files. Windows 7 has a built-in utility for configuring file associations called "Default Programs." This tool allows you to assign specific programs to one or more file extensions using a simple graphical interface. It also displays what file extensions are associated with each installed application. For more information on using the Windows 7 Default Programs tool, view theFileInfo.com Default Programs Help Article. While Mac OS X does not include a Default Programs tool, you can simply right-click a file and choose "Open With…" to select a different program to open it. If you want to change the default program for a specific file, select the file and choose File → Get Info. Then select a different program in the "Open with:" section of the window. If you want to change the default program for all files with the same extension, press the "Change All…" button


Why was java developed and what is the purpose of this programming language?

It is object oriented language in which All program is to be written inside a specific class. it is more comfortable and less coding required to build program.


What does gmon.out do in a program?

gmon.out is used by the GNU profiling tool (gprof). It is written in the program's working directory just before the program you are profiling terminates normally. If the program terminates abnormally (via a low-level _exit or an unhandled exception) the file is not written. The gprof syntax is: gprof options executable-file gmon.out bb-data [yet-more-profile-data-files...] [> outfile]

Related questions

Why might you wish to add a second file association?

If you have more than one program that deals with a certain file type, you may wish to associate that file with more than one program for easy selection of which program to open it with.


Why embedded object document requires more size than linked object?

Because a linked object is created and stored in a separate source file and then it is linked to the destination file, while an embedded object is created in a separate source file but then it is inserted into the destination file , becoming the part of that file.


Why embedded object documents requires more size than linked object?

Because a linked object is created and stored in a separate source file and then it is linked to the destination file, while an embedded object is created in a separate source file but then it is inserted into the destination file , becoming the part of that file.


What is an example of a program file?

a .exe file. A popular example of a program file that you are familiar with is Explorer.exe which runs the Windows Explorer Interface that powers the Start Menu, Task Bar, Folder Window and more.


Why do you need a file extantion?

A file extention isn't needed but when your the file has a file extention the computer can easily find the appropiate program to run it. If a file doesnt have a file extension the computer will require you to find the appropiate program with means more work for you to do


What is a file that is the last 3 characters that follow the file name that identify the type of program used to create the file?

The file extension. It comes after the file nice, after the last dot in the name. For example someTextDocumet.txt has the extension TXT for plain text. The program that created it is most likely the default one for opening it.


What is the role of linker in program execution?

a linker is a computer program which takes one or more object files generated by compiler and link them link them to standard library and produce one executable object file. The libraries includes operating system libraries, language specific libraries and ,may be, user created libraries.


How do you read the dll file within the aspnet program which the dll file is used to pass parameter between aspnet program?

Question need some more clarification


How do you save the java program?

A Java program consists of one or more modules, each of which is simply a plain-text file usually encoded in UTF8. Generally it is easier to program using an integrated development environment (IDE), a program that provides all the facilities required to create and manage programs, including the program's resource files (icons, images, audio, video and so on). Each program is generally known as a project and the IDE allows you to work on several source files simultaneously. When you save the project, all the modified source files are saved automatically. A file becomes part of the project as soon as you create a new file or resource to the project, or import an existing file or resource. For more specific information on working with projects and files, consult your IDE documentation.


What does file extensions do?

The file extension is the two, three, or more letter code that is after the period in a computer file name. It is used to "tell" the computer what type of file it is and what program on your computer will "open" or "run" it.


What is to extract a file?

Without more specific information, this is a difficult question to answer. Extracting a file refers to the process of taking it out of a compressed format (*.zip, *.rar, *.tar, etc.) and placing it in a new folder by itself (or, more likely, as a group of files). For example, the terminal command tar -xvf filename.tar would unpack/extract the file "filename.tar" When you want to extract file, use b1 free of charge archiver


How do you instaler the program rtl120bpl?

To install the program rtl120bpl, you can download the necessary file from a reputable source online. Once downloaded, place the file in the appropriate directory specified by the program that requires it. Usually, it should be placed in the system folder or the same directory as the program that needs it.