有时候我们需要获取zmq的版本号:
#include <zmq.h> int main(int argc, char* argv[]) { int major, minor, patch; zmq_version (&major, &minor, &patch); printf ("当前ZMQ版本号为 %d.%d.%d ", major, minor, patch); return 0; }
当前ZMQ版本号为 4.3.1
有时候我们需要获取zmq的版本号:
#include <zmq.h> int main(int argc, char* argv[]) { int major, minor, patch; zmq_version (&major, &minor, &patch); printf ("当前ZMQ版本号为 %d.%d.%d ", major, minor, patch); return 0; }
当前ZMQ版本号为 4.3.1