Click here to Skip to main content
15,666,902 members

Comments by altomaltes (Top 1 by date)

altomaltes 29-May-19 7:20am View    
I agree. I suposse, and is only a guess, you need something normal members have and static no. static members have no access to object parameters, simply because the are code, without any object allocated, Think on it as the state of an object before the constructor has been called. You can google "singleton c++" (creating a "phamtom" object) to accomplish your task.