You might know the benefits of using parameterized query (e.g boost query performance in term of speed, avoid SQL injection attack, etc) but how it can be done in programming way might sound like a different story to you. 🙂 In this tutorial, I’m going to show you how we can achieve that in using......
[ Click to Continue ]If you are looking for a cryptography solutions in your project, whether it is Blowfish, DES, RC2 or RC4, perhaps, you can consider to utilize the crypto library which is provided by openssl. In this tutorial, i am going to show you how it can be easily implemented into the C++ project solution....
[ Click to Continue ]This tutorial describes how to setup project configuration in Visual C++ IDE in order to develop 64-bit applications. I am using a free version of Visual C++ 2010 Express in this tutorial. Visual C++ 2010 Express does not include a 64-bit compiler, we will need to install Windows 7 SDK in order to make it......
[ Click to Continue ]Wonder how you can implement an automic transaction in SQLite so that your queries will either completely occurs, or completely fails to occur? In this tutorial, i will demonstrate how you can do that in your C++ code by modifying my previous C++ Sqlite example. My previous C++ Sqlite tutorials can be found at the......
[ Click to Continue ]What is OpenSSL? @Wikipedia: “OpenSSL is an open-source implementation of the SSL and TLS protocols. The core library, written in the C programming language, implements the basic cryptographic functions and provides various utility functions.” Enough for the explanation of OpenSSL. 🙂 Let’s go for the real tutorial on how you can install OpenSSL into you......
[ Click to Continue ]There are times when you need to execute a series of SQL statements in order to achieve data consistency. For example, a customer is going to transfer his money from bank account to settle a bill payment. We will need to update both customer bank account and payee account accordingly. Failure to update either custormer......
[ Click to Continue ]In this tutorial, i’ll demonstrate an example on how to connect to PostgreSQL database using gcc in linux. Also, i’ll demonstrate some basic SQL execution in the C++ example so that it give better understading to you how all of these are working. If you are looking a tutorial for windows platform, you could visit......
[ Click to Continue ]Sometimes you might want to knon how much time will it take to execute a certain process in C#. Here is a simple example to demonstrate how you can achieve this by using the TimeSpan attribute. 12345678910111213// clock the start time DateTime start_time = DateTime.Now; // To-do: Add you process here. // clock the end......
[ Click to Continue ]I was looking for a solution to share some of my files in my Ubuntu server to others and while thinking of “cloud computing” at that time, I am thinking if i can try to share my files by linking my box to my existing dropbox account or not. Thus, i give a try and......
[ Click to Continue ]This example will demonstrate how you can write a C++ program to utilize SQLite as your program database file in Linux environment. I am using Ubuntu in this demonstration. If you are new to C++ & SQLite in Ubuntu, it is advisable that you read the following article so that you have better understanding what......
[ Click to Continue ]
C++ SQLite Example with Parameterized Query