One last question, it seems that if I compile using Code::Blocks and g++ both of them output the same logging messages. I know that Code::Blocks uses g++, but how it retrieves those message from it? In other way how to direct those message to for example a file.txt?
I don't know exactly how it does it but there are often system specific functions that you can use to execute other processes and use "pipes" to read the output (or write input).
I don't know exactly how it does it but there are often system specific functions that you can use to execute other processes and use "pipes" to read the output (or write input).
I will need couple weeks to understand this)) I'm going to search a little bit, Like always thank you @peter)
If you want to know about Code::Blocks then ask a question with a title that includes Code::Blocks.
If you want to know about Code::Blocks then read their manual (try googling "code blocks manual").
Or better, just learn to use the command line (or shell in linux) and you can easily apply whatever options you like. If there's a particularly long option list then just put the compilation (yeah, pre-processor|compiler|assembler|linker if you must) commands in a batch file.
Your compiler is from the gnu compiler collection, accessed by the g++ command.
You first reply was actually an answer to what I asked, the other replies of yours did not answer any question I asked.
The second question already answered by peter, without mentioning any Code::blocks in the title to him, the third question, just gave me some insights I appreciate that, but your second replay seems irrelevant to the topic, I just want to know 2 things here:
what this link need to tell me? I am guess you're try to tell me that am pedant????
If you can run man g++ then you have the manual of your installed version of g++ in front of you. You can search string in 'man'. Press '/' and type the string (and Enter). Then press 'n' to hop to next match.