answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How will you recover a file if it is OBJ file and you want to change it to CPP file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you Open a text file as C plus plus source code?

All C++ source code is is a text file with the .cpp extension. So if you save your code as *****.cpp then it is automatically C++ source code.


What is the extension of a C plus plus file?

.h for headers, .cpp or .cc for sources


What is the difference between the header file and the preprocessor directive in programming language cpp?

pata nhn


What c plus plus program must be saved in a text with the extension cpp?

The .cpp extension is merely conventional; it is not required by the C++ standard. You can actually use any file extension you wish.


Three different file extensions and what they are used for?

.txt=notepad .cpp=turbo c .doc=mocrosoft word


What do the initials CBF and CPP stand for?

CPP


When was CPP Group created?

CPP Group was created in 1980.


How do you open a C file as an executible file?

In a canonical C compiler, you type "cc (program file name).c (return) and it spits out "a.out", which is an executable. Works with the original Kernighan and Ritchie C compiler. For C++, use the .cpp extension and "g++" for the compiler: In a terminal window, on MacOS, 'cc (program name).c (return)' 'g++ (program name).cpp (return)' produces an executable named "a.out", which can be run. '-o (some file name . extension) will change the output file name.


How do you start c compiler in cmd?

You need to have the path of the compiler in the envirorment variables. If you want to compile c++ navigate to the folder the cpp file is placed in and write g++ filename.cpp same thing with c just use gcc filename.c


How do you stop writing a file in c by using ctrl z in cpp?

Ctrl+Z mean EOF in WinDos, no matter what programming language you are using.


How do you write a program to illustrate the concept of extern variable?

In order to use extern you have to have at least two files. In first one, let's call it file1.cpp, you will define a variable using extern (in this case belongs to int):...extern int myVar = 0;...Then in file2.cpp file where you have main() you need to write following:extern int myVar;Do not initialize the variable in file2.cpp, or you code will not compile.


What is CPP Studios Event GmbH's population?

CPP Studios Event GmbH is a company, not a population. It does not have a population as it is an entity, not a community or group of people. Can I help you with anything else?