the error was expected primary expression before ',' token
this is my first time encountering this error so i dont know what to do!
i already search the google for similar error but didn't find the solution that i need,
you can find the code in here http://pastebin.com/ZpgTwBrf
the error was in line 67
Did your compiler give any more information than that? A character number, a snippet of which comma it is referring to or any additional info? It's always best to just copy-paste the compiler output so we can see the exact error.
My guess would be that either one of the constants does not exist, or you are using a data member of img which does not exist (assuming img is a valid object in the first place, i.e. it didn't fail to initialize.