Adnan86
Full Member level 2
Hello,
In Attached file there are four files (router.cpp, router.hpp, islip.cpp and islip.hpp) for same project.
In router.cpp, there is a parameter which is (id or _id), that indicate the id of a router, for example, router 0 or router 1.
Now, I need the value of this parameter in islip.cpp, but I don't know how to pass the value of this parameters to this code.
Could you please someone explain it to me in a simple way as I am not an expert in C++.
Many thanks,
Adnan
In Attached file there are four files (router.cpp, router.hpp, islip.cpp and islip.hpp) for same project.
In router.cpp, there is a parameter which is (id or _id), that indicate the id of a router, for example, router 0 or router 1.
Now, I need the value of this parameter in islip.cpp, but I don't know how to pass the value of this parameters to this code.
Could you please someone explain it to me in a simple way as I am not an expert in C++.
Many thanks,
Adnan
Attachments
Last edited: