Click here to Skip to main content
15,886,857 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Program for decrypting graphic files in C. Pin
Richard Andrew x6422-Oct-14 8:00
professionalRichard Andrew x6422-Oct-14 8:00 
Question#define VERSION 1.0.0 - too many decimal points Pin
Vaclav_16-Oct-14 4:12
Vaclav_16-Oct-14 4:12 
AnswerRe: #define VERSION 1.0.0 - too many decimal points Pin
Stefan_Lang16-Oct-14 4:35
Stefan_Lang16-Oct-14 4:35 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 7:59
mvePIEBALDconsult16-Oct-14 7:59 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
CPallini16-Oct-14 9:17
mveCPallini16-Oct-14 9:17 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 9:22
mvePIEBALDconsult16-Oct-14 9:22 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
CPallini16-Oct-14 9:45
mveCPallini16-Oct-14 9:45 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Stefan_Lang17-Oct-14 3:08
Stefan_Lang17-Oct-14 3: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 4:58
mvePIEBALDconsult16-Oct-14 4:58 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Vaclav_16-Oct-14 6:17
Vaclav_16-Oct-14 6:17 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 7:27
mvePIEBALDconsult16-Oct-14 7:27 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Albert Holguin16-Oct-14 12:33
professionalAlbert Holguin16-Oct-14 12:33 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
CPallini16-Oct-14 9:14
mveCPallini16-Oct-14 9:14 
AnswerRe: #define VERSION 1.0.0 - too many decimal points Pin
Richard MacCutchan16-Oct-14 6:27
mveRichard MacCutchan16-Oct-14 6:27 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult16-Oct-14 7:29
mvePIEBALDconsult16-Oct-14 7:29 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
Richard MacCutchan16-Oct-14 22:14
mveRichard MacCutchan16-Oct-14 22:14 
GeneralRe: #define VERSION 1.0.0 - too many decimal points Pin
PIEBALDconsult17-Oct-14 5:03
mvePIEBALDconsult17-Oct-14 5:03 
GeneralSOLVED Re: #define VERSION 1.0.0 - too many decimal points Pin
Vaclav_16-Oct-14 7:32
Vaclav_16-Oct-14 7:32 
Questionwhich tool can be used develop c++ code i.e visual studio or unix Pin
Member 1112317113-Oct-14 9:30
Member 1112317113-Oct-14 9:30 
AnswerRe: which tool can be used develop c++ code i.e visual studio or unix Pin
Richard MacCutchan13-Oct-14 21:10
mveRichard MacCutchan13-Oct-14 21:10 
AnswerRe: which tool can be used develop c++ code i.e visual studio or unix Pin
CPallini13-Oct-14 22:08
mveCPallini13-Oct-14 22:08 
GeneralSuggestion on C++ Pin
Member 1081309011-Oct-14 4:45
Member 1081309011-Oct-14 4:45 
GeneralRe: Suggestion on C++ Pin
Michael Haephrati11-Oct-14 5:33
professionalMichael Haephrati11-Oct-14 5:33 
GeneralRe: Suggestion on C++ Pin
Member 1081309011-Oct-14 6:15
Member 1081309011-Oct-14 6:15 
GeneralRe: Suggestion on C++ Pin
Michael Haephrati11-Oct-14 7:11
professionalMichael Haephrati11-Oct-14 7: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.