Re: C++ cout within Subsurface

2016-02-09 Thread Tomaz Canabrava
Willem, Also do not include iostream on c code. ;) And do what sebas said, plenty of debug examples on the code. Tomaz Em 9 de fev de 2016 13:00, "Sebastian Kügler" escreveu: > On Tuesday, February 09, 2016 04:57:09 PM Willem Ferguson wrote: > > What do you do? > > Use qDebug().

Re: C++ cout within Subsurface

2016-02-09 Thread Sebastian Kügler
On Tuesday, February 09, 2016 04:57:09 PM Willem Ferguson wrote: > What do you do? Use qDebug(). -- sebas http://www.kde.org | http://vizZzion.org ___ subsurface mailing list subsurface@subsurface-divelog.org

C++ cout within Subsurface

2016-02-09 Thread Willem Ferguson
I am printing some intermediate values in the C++ code and I try and use the cout device. But when I compile the machine tells me that does not exist. I suspect it is because of using gcc for handling a mix of c and c++ code??? What do you do? Kind regards, willem

Re: C++ cout within Subsurface

2016-02-09 Thread Thiago Macieira
On terça-feira, 9 de fevereiro de 2016 13:04:24 PST Tomaz Canabrava wrote: > Willem, > > Also do not include iostream on c code. ;) > And do what sebas said, plenty of debug examples on the code. qDebug() also requires C++ :-) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT)