E
E
Eugene2014-07-27 00:16:34
C++ / C#
Eugene, 2014-07-27 00:16:34

How to build an exe file in C++ without unnecessary information?

Good day!
I am not a C++ programmer, but sometimes I want to program in this language, and for a year now I have been doing something like a database. Just for self study.
I often use a hex editor to look at the result of a particular method...
And then I accidentally opened a compiled exe file and began to look at it. Among other things, I found various interesting things for myself. For example, here:
03a202bbcc77413a91222f0bf822c820.png
Therefore, the question is: how can I remove all this unnecessary garbage from the exe file. Perhaps, to collect the most lightweight file ... Is it worth it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-07-27
Protko @Fesor

I understand the binary was going in debug mode?

J
jcmvbkbc, 2014-07-27
@jcmvbkbc

How can I remove all this unnecessary garbage from the exe file

man strip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question