How to use RCPP_MODULE (yada) in C ++ gives my C ++ program error if I
const char * hello (std :: string which) {std :: string result ("hello"); Results + = Who; Return result c_str (); } RCPP_MODULE (more) {Namespace std; Function ("Hello", and Hello); }; Error:
1. Error 1 error C2065: 'yada': Undeclared identifier. 2. Error 2 error C2448: 'RCPP_MODULE': Function-style initializer appears Is there a function definition
Can anyone help me fix this error?
RCPP does not work with Visual Studio, see in question 2.7.
Comments
Post a Comment