SFML community forums
Help => General => Topic started by: intrinsic on August 11, 2016, 11:47:42 pm
-
I would like to check to see if snippets of my code work by printing to a console like window.
Is this possible?
-
Yes, you just use the normal C++ facilities (e.g. std::cout).
On Windows make sure though that you're not linking against sfml-main and that your sub-system is set to console.
-
I know codeblocks provides a console window
I'm sure other IDEs do too
with codeblocks I can compile an sfml program and run it from codeblocks
codeblocks will open open a console window where all my couts will go to and it will of course open my sfml program
-
please delete this post. I made it before compiling my fist program. I feel like an idiot lol