Is it possible to compile a completely flat binary file with no structure in VC++? And if so how?
Asked
Active
Viewed 662 times
0
-
Please explain by what you mean by flat - binaries do not have a shape – Adrian Cornish Aug 30 '12 at 01:41
-
Define your terms. What is the "flat binary file" and what does it mean to "compile it"? – Branko Dimitrijevic Aug 30 '12 at 01:41
-
Compile it? You mean include it in the resulting exe? – dgnorton Aug 30 '12 at 01:42
-
1possible duplicate of [How to write/execute PURE machine code manually?](http://stackoverflow.com/questions/5267988/how-to-write-execute-pure-machine-code-manually) – Greg Hewgill Aug 30 '12 at 01:43
-
From wikipedia: `If a binary file does not contain any headers, it may be called a flat binary file.` – Jesse Good Aug 30 '12 at 01:48
-
@JesseGood Meaning less words - what are `headers` – Adrian Cornish Aug 30 '12 at 01:55
-
Yes no headers , I am developing an OS and would like to use C++ – user1454902 Aug 30 '12 at 03:31
1 Answers
0
Nope.
VisualC++ is a C++ compiler; it takes C++ source code and produces object files. If you want something else, use a different tool.

Christian Stieber
- 9,954
- 24
- 23