gcc 4.4.4 c89 I am trying to define something. If it is defined I want to do something, else I want to do something different.
I have a problem with my clamp macro, when when my value is over 10 and my high is over 17 it stops working.Any idea?
I am trying different kinds of parallelization using OpenMP. As a result I have several lines of #pragma omp parallel for in my code which I (un-)comment alternating. Is there a way to make these line
I would like to ask you for an advice about function template. I have a function that adds some data into buffer. But I need also to add an information about data type into the buffer. The type of dat
I have about 10 standard blocks of dynamically generated HTML that get included on a large percentage of pages on my site (informational sidebars).
Here\'s the situation: I have three files, Test1.cpp and Test2.cpp.Test1.cpp can be compiled as-is into a stand-alone application.Test1.cpp also contains some functions that I would like to re-use in
I\'m involved in preparing a pre-existing rails application for translation - going through the files under app/views/, finding the text, making a key in config/locales/de.yml (in this case), copying
I have a macro that I use to `goto\', I want to let the macro know about the label. Example: #define MYMACRO((a),(b)) printf(\"I have arg: %s, %s with Label: %s at line %d\", (a), (b), _GETLABEL_, _
Is it possible to write a Macro (using token concatenation) that returns format for printf? E.g. #define STR_FMT(x) ...code-here...
consider the following templated datastructures enum eContent{ EINT = 1, EFLOAT = 2, EBOOL = 4 }; template<int>