What compiler do you use? What are the errors that are displayed?
Don't rush with printing in your own language, learn the basics at least first.