Second ask c++ related question in Beginner/General C++ Boards.
And try to give as much information you can for the problem.
Please see this: http://www.cplusplus.com/forum/beginner/1/
Sorry for posting here, and next time I will post int the proper section. This code from a simulator called RFIDSIM on which I am trying to run an experiment. I want to know what these function called, so I can start learning them. For example, is the NodeId(t_uint numericValue) constructor?
Yeah,both if 'em are constructors ...
The first initualizes m_numericValue with the one provided.
The second constructor initialises m_numericValue with an array of bytes , all concatenated(ini binary) in reverse order to single number.
So for example the size of int on most systems is 4 bytes , so when you pass an array of bytes (with the assertion if the no. of byes passed > 4 then those extra bytes must be 0s)
Let the bytes passed be 0xff,0x0a,0x01 so m_numericValue will be initialized as 0x00010aff. (Stored in little endian format)
I
Are you totally new to c++ ? If so then you can learn it from the tutorial on this site.