ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Четверг
28 марта
304234 Топик полностью
abivan (03.02.2012 09:18, просмотров: 193) ответил MBedder на C30 preprocessor - то ли лыжи не едут, то ли...
Microsoft QC2.51 untitled.c(6) : error C2065: 'PORTSW1P' : undefined 
 Operator:  ##

 Syntax:    token##parameter
            parameter##token

 Summary:   The token-pasting operator, used only with macros. If
            ## precedes or follows a formal parameter in the
            definition of a macro, the actual argument is concatenated
            with the token on the other side of the ## when the macro
            is expanded. For example,

                 #define printvar(x) printf("%d\n", var##x)

            causes the statement

                  printvar(7);

             to be expanded into

                  printf("%d\n",var7);