It depends on the implementation details of the compiler and on the settings contains in the various project files. By default, the output file (in unix) is named a.out and is located in the same directory as the source file, but that can be changed on the command line and in the makefile. More complex implementations, such as Microsoft Visual Studio, have project files where there is a fine degree of control. You need to look at these control files to locate the executable.
A source code file is a plain-text file containing C++ instructions. The instructions must be compiled and linked to create a native machine code executable.
Some C programs can be compiled in C++, yes.
The semi-colon converts a C++ expression into a statement.
Compile and link it to produce a binary executable. You don't distribute your source code unless you are making the code publicly available (such as an open source application), you simply distribute the executable. Often the executable will be bundled with support libraries, help files, and so on, from which an installer can be built. You then distribute the installer and its support files.
Image files are not executable. Therefore impossible. However, the only trick is to put your executable look like image using image icon and making the extension like this Mypicture.jpg.exe
No. The standard does not define nor require a file concept.
You can create an exe-file from your C++ source, if you have a compiler.
fopen()
The function ftell returns the position of the file pointer for a file.
Declaration of file pointer opening of file in desired mode. performing the desired operation. closing the file
Copy the first file then append the second file to the copy.
Use an input file stream (ifstream) to read from a file and an output file stream (ofstream) to write to a file. Both can be found in the <fstream> standard library header.