Using cout / cerr in code tracing / debugging questions
-
wrote on 10 Aug 2020, 01:36 last edited by
-
SOLVED
Well, I found same "answer " the hard way. It was my lazy way of coding mistake, however, when used in another project the complier threw an error and actually provided "insert std::" solution .
Not really sure why I did not get same response in first project.Thanks
wrote on 10 Aug 2020, 13:11 last edited by@AnneRanch said in Using cout / cerr in code tracing / debugging questions:
SOLVED
great, so please don't forget to mark your post as such!
-
wrote on 10 Aug 2020, 01:46 last edited by
Instead of using
... << endl;
instead try
... << std::endl;
-
wrote on 10 Aug 2020, 12:57 last edited by
SOLVED
Well, I found same "answer " the hard way. It was my lazy way of coding mistake, however, when used in another project the complier threw an error and actually provided "insert std::" solution .
Not really sure why I did not get same response in first project.Thanks
-
SOLVED
Well, I found same "answer " the hard way. It was my lazy way of coding mistake, however, when used in another project the complier threw an error and actually provided "insert std::" solution .
Not really sure why I did not get same response in first project.Thanks
wrote on 10 Aug 2020, 13:11 last edited by@AnneRanch said in Using cout / cerr in code tracing / debugging questions:
SOLVED
great, so please don't forget to mark your post as such!
1/4