I compiled two pieces of code using the Turbo C++ 3.0 and Borland C++ 5.02 compilers, and the results are as follows:
and i got these results from them :
- Borland C++ (First Code) : 51KB
- Borland C++ (Second Code) : 51KB
- Turbo C++ (First Code) : 5.89KB
- Turbo C++ (First Code) : 16.3KB
I checked two Borland execute files with a hex viewer and realize they are exactly the same.
I examined the First Code form these compilers in IDA pro and come across these graphs :
Now I'd like you to respond to these questions.
1-Why are Borland C++ compiled files the same when one obviously lacks certain inclusion and the other does?
2-Why are the Boland C++ compiled files so large?
(almost ten times larger) and what is compiled that large?
3-When I submit the First Code to this Site, I can view the assembly code of a basic void main function and discover that the Borland C++ code is pretty similar but the Turbo C++ assembly code is highly intricate and not the same, why?
4-How did this basic code, generated using Turbo C++, generate so many functions, as seen in the graph?