Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I'm not a C++ guy but try
printf
I did cout and nothing showed up at all. Am I missing a step somewhere?
Of course you can use print statements. Just write to STDOUT like you would in any other system. For example in JS you would use
console.log(foo)
or in Ruby you would useputs foo
Can someone explain why you can't use print statements to debug your code on here? There are plenty of websites that do similar things to this website such as hackerrank, leetcode, etc. and it is really easy to just toss in a print statement and view what is going wrong in your code.