neurali:ispike_esempio1
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | neurali:ispike_esempio1 [2020/06/08 22:20] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | come compilare: | ||
+ | g++ prova.cpp -lboost_system -liSpike | ||
+ | |||
+ | compila senza errori, | ||
+ | |||
+ | metto un file di testo " | ||
+ | uno ogni ms. | ||
+ | |||
+ | 54 | ||
+ | |||
+ | |||
+ | <code c++> | ||
+ | #include < | ||
+ | #include < | ||
+ | #include < | ||
+ | #include <map> | ||
+ | |||
+ | int main() | ||
+ | { | ||
+ | |||
+ | std::cout << " | ||
+ | ispike:: | ||
+ | map< | ||
+ | farp.at(" | ||
+ | |||
+ | far-> | ||
+ | |||
+ | ispike:: | ||
+ | map< | ||
+ | // | ||
+ | jc-> | ||
+ | |||
+ | </ | ||
+ | |||
+ | output | ||
+ | |||
+ | < | ||
+ | 2015-Jul-22 23:12:59 Info: 0: FileAngleReader: | ||
+ | 2015-Jul-22 23:12:59 Info: 1: FileAngleReader: | ||
+ | 2015-Jul-22 23:12:59 Debug: 2: | ||
+ | |||
+ | </ | ||
+ | togliendo il commento alla riga in fondo si ottiene | ||
+ | |||
+ | terminate called after throwing an instance of ' | ||
+ | what(): | ||
+ | Aborted | ||
+ | |||