A Simple Casino Game in C++

A Simple Casino Game in C++: Description: This is a Number Guessing Game. Player deposits an initial amount to start playing game. He guesses a number between 1 to 10 and enters betting amount. If he wins, he will get 10 times of money he bets. If he bets on wrong number, he will lose … Read more

Bank Management System Program in C++

If you are looking for small school or college level project, this Bank Management System can be a good start. This is a simple project where you can implement a bank management system which has following features: Account management: Create and Delete accounts. Deposit amount. Withdraw amount. Balance enquiry. Modify existing accounts. List all accounts. … Read more

Program to find Perfect Number Program in C++

What is a Perfect number: Perfect Number is a number in which sum of all its positive divisors excluding that number is equals to the number. For example:     6 Sum of divisors = 1+2+3 = 6 Here we will find perfect numbers between 1 and 500. Program explanation: Take first number as 1. … Read more

Learn REDIS the easiest way in 5 Steps

What is REDIS? Redis is an open-source BSD licensed advanced key-value store in-memory NoSQL database.  REDIS stands for REmote DIctonary Server. It is also referred to as a data structure server, since the keys can contain strings, hashes, lists, sets & sorted sets, etc. Redis can be used as Database (persist data), Memory cache (temporary … Read more

Convert Octal to Hexadecimal in C++

In this post, firstly we will understand how to convert an Octal number to Hexadecimal number, then we will implement the same using C++ programming language. Let’s first understand how the conversion works: How to Convert Octal to Hexadecimal? When converting from octal to hexadecimal, it is often easier to first convert the octal number … Read more