Let's say I was searching for how to hide the Console Window from a Win32 App and someone on Stack Overflow said something about FreeConsole() function or anything else so I went and checked the MSDN for it and learned about and how to use it.

Since Stack Exchange answers are under CC-BY-SA, do I have to release my code under CC and link to the user? Didn't use any of his code but he gave me the idea about the function.