M
M
Matweytt2020-04-17 11:55:58
Qt
Matweytt, 2020-04-17 11:55:58

How to make a global QTextStream cout(stdout)?

There is a main function and two classes work in it? How and where can I create a QTextStream cout(stdout) object so that I can use it in the class implementation in main as well?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2020-04-17
@SaNNy32

Google singleton pattern

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question