337 reputation
111
bio website
location
age
visits member for 3 years, 2 months
seen 57 mins ago

Nov
5
awarded  Popular Question
Oct
4
accepted API to get data, caller may not know how much? How to allocate buffer size
Oct
4
comment API to get data, caller may not know how much? How to allocate buffer size
I remember working with some of the Windows API functions yes. This approach is much better although I think best approach is from Useless - although more work.
Oct
4
comment API to get data, caller may not know how much? How to allocate buffer size
Interesting. I am looking at __dirstream (DIR) now and see it is a struct with an offset into the block (the block could be a linked list or an array I guess).
Oct
4
asked API to get data, caller may not know how much? How to allocate buffer size
Jun
25
awarded  Popular Question
Jun
18
accepted Is storing pointer (of new'd object) in static collection from object constructor a common idiom in C++
Jun
18
comment Is storing pointer (of new'd object) in static collection from object constructor a common idiom in C++
Well spotted! I have edited.
Jun
18
revised Is storing pointer (of new'd object) in static collection from object constructor a common idiom in C++
edited body
Jun
18
awarded  Commentator
Jun
18
comment Is storing pointer (of new'd object) in static collection from object constructor a common idiom in C++
@DanPichelman - if not created correctly print error. Its not important to question.
Jun
18
asked Is storing pointer (of new'd object) in static collection from object constructor a common idiom in C++
Mar
13
awarded  Popular Question
Jan
31
comment Maintaining independence between modules
OK, I see what mean.
Jan
31
accepted Maintaining independence between modules
Jan
31
comment Maintaining independence between modules
Not sure I agree with your specific C++ comment about exposing private member data in a class in header file. Well true but isn't that the same for Java? And you could just make an API that hid all that.
Jan
31
asked Maintaining independence between modules
Oct
31
asked What is the advantage of a programmers VM apart from portability
Sep
5
accepted Design of interface for finding one of something or a list
Sep
5
comment Design of interface for finding one of something or a list
@ratchetfreak having discussed with peers I will try to make it more generic eg call will be collection of parties and allow caller to pass a predicate. So your comment hit a note.