Introduction to Data Structures using C++

Submitted by moazkhan on

Introduction to Data Structures using C++

Objectives: In this tutorial, I will 1. Briefly explain the meaning of data structures. 2. Explain the importance of data structures. 3. List different data structures. 4. Tips on selecting the type of data structure to use for a particular application. What does the word Data Structures mean? A Data Structure is a way of organizing or grouping the data available to you so that it can be used later in a convenient way using the minimum resources of computer (e.g. memory ) and user (e.g. time ).

How to Display Most Popular Posts (Daily)

Submitted by GeePee on
In this project, you will learn how to display most popular posts(daily) and how to display random posts. I have updated my previous project Rating System and View Counter by adding the side bar which displays the Popular Posts(Today) and Random Posts. I also added view_per_day table in MySql for daily views. And as you can see, the posts per page is limited to 5 posts, it's because I put

Quick Prime Number Test - Method: Basic

Submitted by DoctorSpeedCode on
With prime numbers, we always get a headache. We will see 2 tutorials about quick prime number testing, this one at a basic level, the next one at an advanced level. The idea of our test is the following: We create an array of bool values, to represent numbers like this: 0 - FALSE 1 - FALSE 2 - TRUE 3 - TRUE 4 - FALSE 5 - TRUE 6 - FALSE 7 - TRUE 8 - FALSE 9 - FALSE 10 - FALSE 11 - TRUE And so forth! Where we have TRUE, it is a prime number, where we have FALSE, it is not a prime number.

How To Insert Data in to a MySQLi Database through PHP

Submitted by Yorkiebar on
Introduction: This tutorial will be on allowing users to input data in to an HTML form, and then upload that data to a MySQL database through PHP. HTML: First we need our HTML form. This example will just be for a user to enter their username and email address, we will not do any validation or username checking (to assure no duplicate usernames within our website) as this is not the purpose of this tutorial.

Very Simple and Efficient Student Database

Submitted by DoctorSpeedCode on
The next project will demonstrate advantages of C++, such as: - using typedef - using the #define directive - using simple, short source code to handle apparently large tasks - easy to read code, if you develop your simple programming style The task we are going to accomplish is a simple and efficient student database. Although we have put some amounts (limitations), these can be changed very easily! Furthermore, for the simplicity of the tutorial we only used cin to read data.