News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to customize console output in codeblocks?

Started by giftofshivaji, April 01, 2023, 01:26:50 PM

Previous topic - Next topic

giftofshivaji


ollydbg

I think this is a general C++ programming question.

Which is not suitable for our C::B forum.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

giftofshivaji

Nope. I'm asking how to get that "-----" for every output without writing c++ code for it.

Commaster

This is the default output, including the next 2 lines, when you run your application using Code::Blocks' "Run" button.

giftofshivaji


stahta01

Quote from: giftofshivaji on April 02, 2023, 05:41:51 AM
Nope it's not for me.

So, stop using the Code::Blocks run button to run your program.

I suggest using the Toolsplus plugin or the Tools menu.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]