Data Structures using C++

Submitted by moazkhan on

Data Structures using C++

Only basic concepts will be discussed in this tutorial. Implementation using codes will be discussed in next tutorial. In this tutorial, you will learn 1. Advantages of using arrays. 2. Draw backs of arrays. 3. The basic concepts of linked list. 4. Types of Linked List. 5. Linked list vs. Arrays. 6. Creating a linked list using Object Oriented Programming. What are some advantages of arrays? As most of you know the basics of C++ programming or programming in general so you all must have used arrays.

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.