Sep
29
awarded Popular Question
Aug
13
awarded Critic
Aug
13
revised What can I do to increase the female:male ratio of gamers in an online, casual gaming, community?
few typos corrected, added a disclaimer of sorts
Jul
17
awarded Yearling
Jul
16
accepted Android Intents, how to pass and receive an InetAddress?
Jul
16
comment Android Intents, how to pass and receive an InetAddress?
Doh of course, thank you!
Jul
16
asked Android Intents, how to pass and receive an InetAddress?
Jul
12
asked Thread life cycle and member access
Jul
2
awarded Inquisitive
Jul
2
awarded Curious
Jun
24
awarded Notable Question
Feb
5
accepted Undefined Reference/ Multiple Definition for namespace extern variable , c++ structuring issue
Feb
5
comment Undefined Reference/ Multiple Definition for namespace extern variable , c++ structuring issue
Thank you! I knew this but I was struggling with the syntax I suppose around the definition. I have now have just plonked the definition on the top level of the source file scoping as you did and it's compiled fine. (Previously I was trying to enclose it within namespace braces and had no luck). Ta!
Feb
5
comment Undefined Reference/ Multiple Definition for namespace extern variable , c++ structuring issue
@ArthurChamz I can say with complete certainly that extern std::ofstream logfile is the only time such a variable is declared. The (only) place i try to initialise it is logfile.open("log.txt", std::ios_base::out | std::ios_base::app ); and the only place I ever use it is in Helper::Log. Helper::Logand Helper::EnableLogging are only called once, from within that other project source file I mentioned. Thanks for having a look at it!
Feb
5
asked Undefined Reference/ Multiple Definition for namespace extern variable , c++ structuring issue
Feb
4
awarded Popular Question
Jan
12
asked Random selection for a variable set with a guarantee of every item at least once
Dec
23
accepted How to create a length prefix for file being sent on socket?
Dec
23
comment How to create a length prefix for file being sent on socket?
Ah that's good to know, I was under the impression that it might be different dependending on the size of the register.
Dec
22
asked How to create a length prefix for file being sent on socket?
1 2 3 4 5