...
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <list>
|
||||
|
||||
#include "../mcc_ccte_erfa.h"
|
||||
#include "../mcc_netserver_proto.h"
|
||||
#include "../mcc_pzone.h"
|
||||
#include "../mcc_pzone_container.h"
|
||||
|
||||
@@ -155,5 +156,18 @@ int main()
|
||||
|
||||
std::cout << a1.sexagesimal() << "\n" << a2.sexagesimal() << "\n";
|
||||
|
||||
|
||||
std::cout << "\n\n";
|
||||
|
||||
std::string sm{"ACK TARGET 12:23:45.13 -09.23423525 RADEC"};
|
||||
std::vector<std::string> sv;
|
||||
|
||||
auto mr = mcc::network::mcc_parse_netmsg(sm, sv);
|
||||
|
||||
std::cout << "MSG RET = <" << mr << ">\n";
|
||||
for (auto const& pr : sv) {
|
||||
std::cout << "\t[" << pr << "]\n";
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user