Dumb questions are perfectly fine if you learn from them.
See this post here where they discuss debugging in C++