I am using Visual studio 2010, C++ application. I have a query as follows:
While developing an application similar to database engines for writing and executing queries, The statement used is:
What I want is any code snippet which without passing the query in the code as above, allow writing query in the application's window and display result in it on execution.
(I made a a window with text box for writing query and execute query button; and an output box for displaying result).