User forums > Help

How can I use SDL_ttf with code blocks?

<< < (3/3)

Zamp:
How could I add a logging thing to the program? I put 'cout<<"Hello";' on the very first line of the main function, and it still doesn't show up when I try to run the Release prorgam in the terminal. And it only shows up after I close the program when I run the Debug one.

And how would I use a debugger from the terminal? >_>

Ceniza:
Use cerr instead of cout or add endl at the end of every cout.

You may want to search a GDB tutorial and have a Quick Reference at hand if you want to debug using the console. The most recent GDB Quick Reference I found is right here.

Navigation

[0] Message Index

[*] Previous page

Go to full version