Click here to Skip to main content
15,894,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Program for decrypting graphic files in C. Pin
Richard Andrew x6418-Oct-14 15:26
professionalRichard Andrew x6418-Oct-14 15:26 
GeneralRe: Program for decrypting graphic files in C. Pin
TheDefenestrator22-Oct-14 5:46
TheDefenestrator22-Oct-14 5:46 
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 
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 
Vaclav_Sal wrote:
Apparently #define VERSION   does not simply replace the VERSION with literal 1.0.0 but the 1.0.0 is analyzed by GCC compiler.
When you use that statement the value after the word VERSION has two decimal points so it is not a valid token, and the compiler rejects it. A #define statement must contain valid C/C++ code, so the value after the identifier must be a valid literal or expression which resolves to a valid literal; see http://msdn.microsoft.com/en-us/library/teas0593.aspx[^].
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 

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.