WOW... it works great.
I had to adjust my string to be "1copy ()" instead of "copy", and it works. I wonder why they add the 1 to the end of this? Seems this makes things a bit more difficult. I'm there is a reason.
WOW... it works great.
I had to adjust my string to be "1copy ()" instead of "copy", and it works. I wonder why they add the 1 to the end of this? Seems this makes things a bit more difficult. I'm there is a reason.
It's an easy way to distinguish between methods ("0"), slots ("1"), signals ("2") and garbage (??).
They prepend a digit because in C++ no identifiers like method or variable names may start with a digit. That way you can distinguish between the types like wysota mentioned.
rianquinn (21st March 2006)
Bookmarks