I've got Cassandra 3.0 and I'm trying to run nodetool inside a program in C (I'm using the cpp driver) but the only way I can think of is to use the system function to write in a file the result of the command : nodetool getendpoints etc., and then read the file to copy it in a char*.
Does the cpp-driver offer another posibility to use nodetool inside a C file?
Thank you beforehand