Horje
# in c++ Code Example
# in c++
You can use '#' sign to get exact name of an argument passed to a macro:
#define what_is(x) cerr << #x << " is " << x << endl;
int variable = 376;
what_is(variable);
// prints "variable is 376"




Cpp

Related
1603. Design Parking System leetcode solution in c++ Code Example 1603. Design Parking System leetcode solution in c++ Code Example
getline int Code Example getline int Code Example
define a type in c++ Code Example define a type in c++ Code Example
input in c++ Code Example input in c++ Code Example
how to get the first element of a map in c++ Code Example how to get the first element of a map in c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7