answersLogoWhite

0

ObjectNameHere.java

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

What is object file?

In computer science, an object file is an organized collection of separate, named sequences of machine code.


When you compile source code the resulting collection of instructions is called code which is placed in a new file?

Is called machine code


Difference between source code and target code?

Source code is code written in a programming language, such as C++ or Java. It is designed to be architecture-independent and human-readable. Source code must be converted to object code (aka machine code) before it can be executed. Object code is architecture-dependent and is not easily human-readable (think ones and zeros). The point of this setup is that you can ensure that code you write in a programming language (source code) can be executed on ANY architecture that has a proper compiler.


What is an An address embedded in a file that links the file with an object?

It is poor programming practice resulting in undefined behaviour. Files should never store memory addresses (real or virtual), since there's no guarantee a valid object will always reside at the same location in memory, unless the programmer can be absolutely certain the object will outlive the file (such as when referring to active objects in memory via a temporary file).To embed an object in a file, the object must be stored in an independent file. The file in which the object is embedded simply links to the object's file. In this way, whenever the object is updated (and saved), all files in which it is embedded will also be updated.


How do you create a header file and implementation of code in another c file and both should be retrieved by another .c file?

tanga

Related Questions

How do you code save as button using c plus plus?

Typically you will code 'save' and 'save as' buttons together since they work together. The 'save' button should invoke the object's serialise method passing the direction of serialisation (in or out) along with an archive object that contains the file name associated with the object. The 'save as' button simply prompts the user for a file name and, if successful, associates that file name with the object before invoking the 'save' button. Note that the 'save' button should be disabled unless there is a file name associated with the object and the object has been modified since it was last saved. The 'save as' button should be enabled at all times.


How will you recover a file if it is OBJ file and you want to change it to CPP file?

You cannot. Object code files are machine code files that have yet to be linked. There is no way to convert object code back to its original source code.


What is object file?

In computer science, an object file is an organized collection of separate, named sequences of machine code.


What is java file in java?

A java file contains the code you write. One java file contains one class so for example when I want to make a class called Person, the source code is saved in Person.java


What is responsible for producing the object file during the transformation of source code to an executable?

Compiler.


When you compile source code the resulting collection of instructions is called code which is placed in a new file?

Is called machine code


Can someone make an HTML code where i can just put my file in and it to work please?

You have to give the complete file in order to make and HTML file. The file should be compatible with the code.


Difference between source code and target code?

Source code is code written in a programming language, such as C++ or Java. It is designed to be architecture-independent and human-readable. Source code must be converted to object code (aka machine code) before it can be executed. Object code is architecture-dependent and is not easily human-readable (think ones and zeros). The point of this setup is that you can ensure that code you write in a programming language (source code) can be executed on ANY architecture that has a proper compiler.


What are the components of a HTML file?

The HTML file contains various components. <HTML> tag is used for the beginning of the code. <HEAD> and <BODY> tags are for the content.


How could you insert or call the OBJ file in c source code?

You will need to define any functions used as "external", then when you link the object code you will make sure that the object file with the function is included in the link command. Then you just call the function as though it were local.


Is database a File?

No. A file is a single object that contains unstructured data, such as a letter in Microsoft Word or an picture in a JPG File. A database is a structured collection of fields, records and tables stored in a way that allows rapid access.


What is an An address embedded in a file that links the file with an object?

It is poor programming practice resulting in undefined behaviour. Files should never store memory addresses (real or virtual), since there's no guarantee a valid object will always reside at the same location in memory, unless the programmer can be absolutely certain the object will outlive the file (such as when referring to active objects in memory via a temporary file).To embed an object in a file, the object must be stored in an independent file. The file in which the object is embedded simply links to the object's file. In this way, whenever the object is updated (and saved), all files in which it is embedded will also be updated.