but when i change to same vector size [13],
i still got error
1>c:\users\documents\visual studio 2008\projects\staffmenu.cpp(516) : error C2296: '*' : illegal, left operand has type 'char [13]'
1>c:\users\documents\visual studio 2008\projects\staffmenu.cpp(516) : error C2297: '*' : illegal, right operand has type 'char [13]'
its because you are taking sql codes and literally injecting them into your code. theres probably a function they are supposed to go in. c++ has no idea what sql is
i have never used sql and c++ (but i probably need to for my website). i just know that its not valid c++ to literally inject the commands. there is a function in the sql api that executes it for you