windows.h alternative in xcode

Hello everybody.

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().


Does my question make sense? :)
Cool!

The only thread with no replays! That's something.
closed account (o3hC5Di1)
Hi there,

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.

All the best,
NwN

I am not sure I got it. I work on mac, not in linux.

my professor says that I should try to find a clear screen function equivalent for mac, and than make fake animation?

which way is more suitable?
I may be wrong but mac and linux are bot *NIX systems right? So what NwN suggested should work.
Topic archived. No new replies allowed.