turbo c++ sand clock - graphics.h

hi my dear friends :
i am new in c++ and really like to find a simple sand clock for enjoying and learning ...
i should use turbo c++ 3.0 ...
would you plz help me to find that ?

thanks in advance
best regards
Last edited on
sorry for this Q / is this forum active ? because i am new here...

thanks for attention!
Last edited on
Turbo C++ 3.0 is about 18 years old. Unless you're using DOS, I'd recomend not using it. Try to get hold of something more modern.

There's Visual Studio Express, The Qt Environment, Cygwin, ... There are a number listed on this site somewhere.
There are two problems with your question:
1) You're asking for code for an ancient compiler that is no longer used and that doesn't adhere to the C++ standard (not surprising, since it was released many years before the first C++ standard).
What's more, the compiler can only create programs for DOS, an OS that isn't used anymore either and for which no current libraries exist.
2) You're asking for a very specific piece of code (a sand clock?!). Even if you can find some example code for this somewhere, it's almost certainly not compatible with DOS.

The solution is simple: use a real C++ compiler that can create programs for the OS you're actually using (Windows, I assume) such as MinGW:
http://www.codeblocks.org/downloads/26

Then get familiar with a graphics library. SFML is not only able to do not only the rendering, but also the displaying:
http://www.sfml-dev.org/

Last, write your sand clock.
thanks for answer...
i know turbo c++ dos is too old / but i don't want sand timer for myself / i want it for my sister and i don't know what is wrong with their teacher about turbo c++ dos / however i am asp.net web developer and have no time for learning and developing a simple sand timer for her...(because of her limited time)
would be appreciate for some help...
Last edited on
would be appreciate for help me ....
Topic archived. No new replies allowed.