c++ question
I dont know any good forum for C++, but i guess people who uses JNI would know C++ as well =)
i have method that i call which takes many LPSTR args
I need to concat all those LPSTR into a SELECT query
and pass into another method withconst char* sqlstm
as an arg
my question is that
i know if i dochar qry[256]
and use sprintf, i can do this easily. However, i know the query might run above 256 characters.
what is a good way to handle something like this?
char qry[50000000] << not a good idea right?
very simple example code would be appreciated, cuz I am very new to C++

