In C++ I need to show a text for 2 seconds after that the text should disappear, So I don't need any blocking calls like sleep and also just to show and then after 2 seconds hide it I do not want to create a separate a thread as this is just for one time. i have searched online but couldn't get any useful information. Also without much cpu load.
Aucun commentaire:
Enregistrer un commentaire