Honestly... Your question is decent. About the only thing you can do to improve it is to keep debugging:
- Look at similar problems and their solutions; see what applies and what doesn't. Keep notes on what you've learned in your question.
- Find a tutorial and verify that you can follow it and run the result successfully on your platform. Make a note of this in your question as well.
- Start adapting the tutorial to include functionality from your program. Make note of when things fall apart (in your question also please).
- When you've identified the specific bit of your program that isn't working, make a note of that.
Naturally, getting to #4 is going to take a bit. But, #4 will also give you probably the single biggest improvement you can make to your question: a title that's more interesting than "not rendering to the screen". To be clear, it's not your fault that you don't have a better title right now... You haven't done steps #1 through #3 yet. But you should realize: folks who hang out in the graphics-oriented sections of Stack Overflow see a lot of questions whose titles boil down to, "I tried X, but X isn't appearing" - it's effectively the same as saying, "my code doesn't work", and every bit as boring.
Nobody likes to be bored. The more specific & detailed you can be about where you're having trouble, the more likely you'll catch someone's interest & get a useful answer.