c++ g++ expected primaryexpression before ‘[’ token Stack Overflow(06) Save Image Image gallery: Expected Primary-expression Before Int