mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
19 lines
258 B
C++
19 lines
258 B
C++
|
|
#include "DaItem.h"
|
||
|
|
#include <iostream>
|
||
|
|
|
||
|
|
void function1 (DaItem& item) {
|
||
|
|
|
||
|
|
std::cout << item.name() << std::endl;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
int main (int argc, char** argv) {
|
||
|
|
|
||
|
|
DaItem item("TEST", 100, DT::IntegerType, 1000, 2.0);
|
||
|
|
|
||
|
|
function1(item);
|
||
|
|
|
||
|
|
return argc;
|
||
|
|
}
|
||
|
|
|