C++ preprocessing error in the code
- by mkal
#include "iostream"
#include "string"
using namespace std;
#define AA(bb) \
string(::##bb);
int main (int argc, char *argv[])
{
AA(aa);
}
This gives me a bunch of errors but I am trying to understand this error
pre.cpp:11:1: error: pasting "::" and "aa" does not give a valid preprocessing token
Any ideas?