I am a beginer with c++ and this is my first time to this forum. I'm sorry if my question isn't applicable. What I meant to say was that It's not working for me. I got the error message; " Function "function" is not defined in the current scope (tmpfile):1". After I rebooted, the problem fixed itself, so I assume it must have been a bug. I apologize!