I am trying to find a way to return values in C++ from a sql expression that I send to the database. I can run queries like "DELETE FROM TABLE_NAME" without a problem. But I want return a value from a sql statement...example "SELECT COUNT(ID) FROM TABLE_NAME"...I would like the count to be stored in a variable in my program. Does any one have a way to do this??? Thanks.
The undo support, implementing a stack.
Continuing from the eigth article about sudoku.
We need a mechanism to keep track of the digits entered so as to implement an undo mechanism. This should be a ‘Last In First Out’ collec…
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.