I want to make mysql query it look like this:
SELECT name FROM AUTHORS where name LIKE %[here argument]%
I search for solution and i find putting arg in "+[arg]+" like this;
  const char * author = getString("Author: ", 100).c_str();
  // res type MYSQL_RES* res
  res = exec_query(conn, "select name from authors where name like '%"+author+"%'");
But i gives me an error:
expression must have integral or unscoped enum type
 
    