I am working on project in X Code. I am supposed to fix the already written code and make it work. They included windows.h library, and I am wondering what can I use on mac as an alternative (if it exists). Functions that I need are: setConsoleTitle(), and Sleep().
Please don't take it as an offence when response to your question is a little slower.
As for setConsoleTitle(), you could try: http://www.faqs.org/docs/Linux-mini/Xterm-Title.html or http://stackoverflow.com/questions/2218159/c-console-window-title
As for Sleep(): http://linux.die.net/man/3/sleep
Hope that helps, please do let us know if you have any further questions.