3,257 reputation
1918
bio website
location Italy
age 49
visits member for 2 years, 11 months
seen Jul 28 at 11:58

Born an living in the suburbs of Milan (Italy), I graduated in 1989 as a Master Electronic Engineer, specializing in information technology an inter-networking systems and plants.

Interested in programming since the early '80s, today working mainly in C++ and D programming languages, in libraries development.


Jun
25
comment Where should libraries be placed, in windows?
@ComFreek: Not sure: may be it is remapped at the file-stystem level, not as a shell-extension. But it may be even not on C:\ ... so ... never trust, but refer to %programfiles%. Also, user dependent configuration data, should go to %appdata% Anyways, thanks for the clarification.
Jun
25
comment Where should libraries be placed, in windows?
Please note that the actual names of those folders depends on the localization of the OS: "Program Files" exist only on english-localized installations. You should rely on environment variables or to registry keys to get the actual folder names. In any case don't place things directly in those folders, ut create appropriate sub-folders.
Jun
25
comment Where should libraries be placed, in windows?
Do you mean from your own standpoint of from your final users standpoints ?
Jun
8
awarded  Caucus
May
22
awarded  Nice Answer
May
21
answered Who created the idea(s) of the first loop constructs?
May
2
comment Why would I learn C++11, having known C and C++?
@Giorgio: oh ... they apply ... exactly as you said. If you think C# or D did a better choice than a "boiled out" C++ (my interpretation of your feeling), just use them instead of C++. An as time moves on C++ will slowly die. Right now,I see C++11 giving a new chance to the "boiled" C++03, and D with still something missing to break the starting barrier. Economics and corporation interests also play a role in how development is financed and encouraged. You're right in theory, but real world is more complex.
May
2
comment When should you use bools in C++?
@zvbra: please read carefully my comment: you start with NO, but say exactly what I meant with different wording. What you call "semantic of operation", inside the CPU becomes "masking and shift". What the spec mandate are for the "external behavior of the variable" (what it gives me when I read it) not what it has inside. I can mask when setting or when reading depending on how the CPU ins internally implemented. In fact, I'm talking about an abstraction layer that is lower than the one you are referring. C++ spec cannot say anything about the CPU layer. But compilers have to deal with it.
May
1
awarded  c++
Apr
30
comment When should you use bools in C++?
@zvrba: true, but this is due to the way MS decided to implement bool in its own compilers. It is valid only for MS compilers working for Intel processors. Note that, for Intel platform, every integral type shorter than 32 bits requires a masking on input or output. But char[] are still used and not necessarily always replaced by int[]
Apr
30
comment Why would I learn C++11, having known C and C++?
@giorgio: yes ... you're probably right in the "pragmatic" sense. But in theory ... I remember some good days where pascal was the "teaching reference language" and ada was the "everything programming language wannabe".
Apr
28
comment A question on nature of generated assembly in C++ and code Algebra
Come on, be serious: compilers are still automatas: Undefined behavior can be "anything the compoiler writer wants to happen". The uninitialized a is in any case an integer. You don't know which one, but always an integer is. Initialization is irrelevant in the context of this question.
Apr
28
answered A question on nature of generated assembly in C++ and code Algebra
Apr
28
revised Explaining how the code you wrote works
title corrected
Apr
28
suggested suggested edit on Explaining how the code you wrote works
Apr
24
comment When should you use bools in C++?
@BenLee: Thank you. Just fixed
Apr
24
revised When should you use bools in C++?
added 2 characters in body
Apr
21
answered Why the static data members have to be defined outside the class separately in C++ (unlike Java)?
Apr
20
awarded  Good Answer
Apr
20
awarded  Nice Answer