C++: AHK source code: static/global variables

Talk about things C/C++, some related to AutoHotkey
User avatar
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

C++: AHK source code: static/global variables

19 May 2019, 17:17

Is there a best way to create static/global variables, for individual/all functions, as would be done in AHK functions.

E.g. one idea: A_MSecLast [the milliseconds at the time you last retrieved A_Now/A_NowUTC]. Since concatenating A_Now/A_NowUTC and A_MSec is unreliable.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 6 guests