Click here to Skip to main content
15,506,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Program for decrypting graphic files in C. Pin
Richard Andrew x6422-Oct-14 9:00
professionalRichard Andrew x6422-Oct-14 9:00 
Question#define VERSION 1.0.0 - too many decimal points Pin
Vaclav_16-Oct-14 5:12
Vaclav_16-Oct-14 5:12 
AnswerRe: #define VERSION 1.0.0 - too many decimal points Pin
Stefan_Lang16-Oct-14 5:35
mveStefan_Lang16-Oct-14 5:35 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 8:59
professionalPIEBALDconsult16-Oct-14 8:59 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
CPallini16-Oct-14 10:17
mveCPallini16-Oct-14 10:17 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 10:22
professionalPIEBALDconsult16-Oct-14 10:22 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
CPallini16-Oct-14 10:45
mveCPallini16-Oct-14 10:45 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Stefan_Lang17-Oct-14 4:08
mveStefan_Lang17-Oct-14 4:08 
It once took me more than a day to resolve an issue that manifested as some inexplicable and incomprehensible error message somewhere in the depths of the MS-provided STL implementation. In the end it turned out that the #defined symbols min and max from the windows header files managed to wreak so much havoc in the implementation files of std::valarray, that the error messages not only were totally unrecognizable but also pointed to an entirely different point in the code!

That's what I mean by cluttering the global namespace: just about anywhere in your code, any macro from a totally unrelated part, has the potential to totally destroy your code to the point where you neither recognize the location nor cause of the problem! Fixing such an issue in a codebase of 3 million lines of code is not fun at all!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

AnswerRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 5:58
professionalPIEBALDconsult16-Oct-14 5:58 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Vaclav_16-Oct-14 7:17
Vaclav_16-Oct-14 7:17 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 8:27
professionalPIEBALDconsult16-Oct-14 8:27 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Albert Holguin16-Oct-14 13:33
professionalAlbert Holguin16-Oct-14 13:33 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
CPallini16-Oct-14 10:14
mveCPallini16-Oct-14 10:14 
AnswerRe: #define VERSION 1.0.0 - too many decimal points Pin
Richard MacCutchan16-Oct-14 7:27
mveRichard MacCutchan16-Oct-14 7:27 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 8:29
professionalPIEBALDconsult16-Oct-14 8:29 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Richard MacCutchan16-Oct-14 23:14
mveRichard MacCutchan16-Oct-14 23:14 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult17-Oct-14 6:03
professionalPIEBALDconsult17-Oct-14 6:03 
GeneralSOLVED Re: #define VERSION 1.0.0 - too many decimal points Pin
Vaclav_16-Oct-14 8:32
Vaclav_16-Oct-14 8:32 
Questionwhich tool can be used develop c++ code i.e visual studio or unix Pin
Member 1112317113-Oct-14 10:30
Member 1112317113-Oct-14 10:30 
AnswerRe: which tool can be used develop c++ code i.e visual studio or unix Pin
Richard MacCutchan13-Oct-14 22:10
mveRichard MacCutchan13-Oct-14 22:10 
AnswerRe: which tool can be used develop c++ code i.e visual studio or unix Pin
CPallini13-Oct-14 23:08
mveCPallini13-Oct-14 23:08 
GeneralSuggestion on C++ Pin
Member 1081309011-Oct-14 5:45
Member 1081309011-Oct-14 5:45 
GeneralRe: Suggestion on C++ Pin
Michael Haephrati11-Oct-14 6:33
mvaMichael Haephrati11-Oct-14 6:33 
GeneralRe: Suggestion on C++ Pin
Member 1081309011-Oct-14 7:15
Member 1081309011-Oct-14 7:15 
GeneralRe: Suggestion on C++ Pin
Michael Haephrati11-Oct-14 8:11
mvaMichael Haephrati11-Oct-14 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.