Originally posted by megetron
ok. now it is working. so actually when i want to do the above i just need to do this in the header file.
Yes...default parameter are only provided with the declaration of a function but not with the definition (which would result in a compiler error)...