by: John |
last post by:
Please, consider this macro:
#define mymacro(arg1, arg2) arg1 and arg2
Then it is used:
mymacro(boys, girls)
How is its expansion?
|
by: Charlie Zender |
last post by:
Hi,
I want to have a CPP macro that tests the value of a token and
returns the string "No" if the token is undefined (or 0) and
returns "Yes" if the token is defined (non-zero).
Then I can...
|
by: Ark |
last post by:
Hello, NG,
Please, help on this snippet:
#define CAT(a,b) a##b
#define COMMENT CAT(/,/)
COMMENT This is a comment
Should it compile?
It passes MS C/C++ 13.0 (Visual Studio 2002) and fails...
|
by: |
last post by:
Hi,
I want to find out how much time is spent in macro-code, without having to
change all macro-definitions to include some tracking code.
Thus when compiling a file, the preprocessor would...
|
by: Vittal |
last post by:
Hello All,
I am trying to get a cut down version of preprocessor output. Let me
make myself clear with a sample:
***************************************************************************...
|
by: casul |
last post by:
Hi All,
I was told there were a few macro gurus on this group :)
I'm trying to define a macro that will allow me to write the following
code :
#include MY_MACRO( NAME, SPACE )
|
by: junjiec |
last post by:
Hi,
Please tell me how could I have a #$B!J(Bsharp sign) expanded in the
macro such as
#define INCLUDE(filename) #include <filename>
which could do the expand below to include a file...
|
by: badc0de |
last post by:
Hello..
a header file of one of my project has macro definitions like this
(for example)
#define PART_A_SORT_1_LABEL_STRING1 100
#define PART_A_SORT_1_LABEL_STRING2 200
#define...
|
by: Francois Grieu |
last post by:
One of the C compiler that I use <OT>(Keil's CX51)</OTbarks at
#define a(b) b
int main(void){return a(
#if 0
#endif
0);}
More generally, this compiler seems confused by any preprocessing...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|