Tuesday, 9 June 2020

The Snake Game Project In C Language With Source Code Explanation 2020 |...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.




In this project, you can play the popular “Snake Game” just like you played it elsewhere.
You have to use the up, down, right or left arrows to move the snake.
Foods are provided at the several co-ordinates of the screen for the snake to eat.
Every time the snake eats the food, its length will be increased by one element along with the '*'.




Download Source Code Here

The Quiz Game Project In C Language With Source Code Explanation 2020 | ...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



In this project, a number of questions are asked, and the user is awarded a cash prize for each correct answer given.
In the quiz games, questions are chosen in such a way that they cover all fields of a typical quiz contest.
The user’s general knowledge is tested with quiz questions regarding science, technology, movies, sports, general health, geography, and many more.




Download Source Code Here

Monday, 8 June 2020

The Calendar Project In C Language 2020 Download With Source Code Explan...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.




In this Calender application project, there are 3 important operations are done.

Such as To find out the day corresponding to a given date, the date, month, and year

are asked and You can list the days and dates of any month of any year.

You can navigate the months using arrow keys, or press ‘n’ and ‘p’ keys to

view the next and previous months respectively.

The third feature is file handling which can add important notes with corresponding dates.



Download Source Code Here

The Student Record System Project In C Language With Source Code Explana...




Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



This project is used for files as a database to perform file handling operations such as

add, search, modify, and delete records to manage students’ records.

Using this project, you can also generate a mark-sheet for students.



Download Source Code Here

Sunday, 7 June 2020

The Contact Management System Project In C Language Source Code Explanat...




Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



Using this project, we can easily add, view, edit, search, and delete contacts.
We can list contacts by name, phone no., address, and email.
File handling is used to record all data so that after the termination of the program data persists.
Here a data structure is used to store the name, email, and contact.
The coding of the project is short and simple.




Download Source Code Here

The Phone Book Application Project In C Language With Source Code Explan...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



In this project Adding new records, listing them, modifying them,

Search for contacts saved, and deleting the phonebook records, are the basic functions,

which make up the main menu of this Phonebook application.

A structure is used to carry information about a contact.

The phonebook is a very simple mini project in C that can help you understand the basic concepts of functions,

file handling, and data structure.

This application will teach you how to add, list, modify or edit, search, and delete data from the file.



The coding of the project is very short and simple.



Download Source Code Here

Saturday, 6 June 2020

The Employee Record System Project In C Language With Source Code Explan...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



In this Employee record system project, you can manage employee records by adding, listing, modifying, and deleting records.

 Understanding this project will help you learn how to add, view, change, and remove data using file handling.



Download Source Code Here

The Telecom Billing System Project In C Language With Source Code Explan...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



Using this project you can perform and manage billing operations like they do in Telecom companies.
You can also make payment by providing your phone number instead of name and all data added or modified are recorded in a file.
You can add records with name, phone number, and the amount of payment, and You can view, modify, search, and delete existing records.
This project will also teach you how to add, list, edit, search, and delete records using file handling.

NB: You Need to change Drive/File path accordingly, Here I am doing in D:




Download Source Code Here

The TicTacToe Game In C Language With Source Code Explanation Free Downl...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



In the C Tic Tac Toe game is a simple console application without graphics.
While making a Tic Tac Toe game using C language, it is important to make use of arrays.
The Xs and Os are kept in different arrays, and they are passed between several functions in the code to keep track of how the game goes.
With the code here you can play the game choosing either X or O against the computer.

To put your turn, you need to specify the position thinking it as a 3x3 array. For example,
if you want to put your turn in the middle of 3rd row, you should enter 8 and so on.

The game is so built, either it's Drawn or the Computer Wins, challenge for you to play this game and win against the computer !!!






Download Source Code Here

The Hangman Game In C Language With Source Code Explanation And Free Dow...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



The main purpose of this Hangman game project is to illustrate the use of control structures.
Hangman Game has been designed to demonstrate different application formats and syntaxes of C programming language.

The source code of the game is easy, short, understandable, and user friendly and when you start the game, the game asks you to guess a character.
The Hangman Game in C gives five chances to guess and If you are able to match the character in five guesses, you will be the winner.
If you fail to match the character in fives guesses, you will lose the game and hanged by Hangman Game in C.




Download Source Code Here

Friday, 5 June 2020

How To Create And Call Stored Procedure In PostgreSQL Using pgAdmin4 || ...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.



How To Create And Call Stored Procedure In PostgreSQL Using pgAdmin4
Procedure In PostgreSQL.
In this video, I explained How To Create and Call a Stored Procedure in PostgreSQL.

How To Convert Date Timestamp Value To Numeric And Numeric To Timestamp ...



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.




How To Convert Date Timestamp Value To Numeric And Numeric To Timestamp In PostgreSQL Using pgAdmin4


select cast(extract(epoch from now()) as integer);


select to_timestamp(1591369682);



-- Purpose is to Cast/ Convert A Date value (timestap) to Number and Vice-Versa


SELECT CAST(EXTRACT(EPOCH FROM CURRENT_TIMESTAMP) AS INTEGER);

SELECT CURRENT_TIMESTAMP;

SELECT TO_TIMESTAMP(1591372301);

-- 1591372301

Saturday, 30 May 2020

How To Download/Restore/Load Sample Database In PostgreSQL Using pgAdmin4





Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.






We will use the DVD rental database for demonstrating the features of PostgreSQL.



The DVD rental database represents the business processes of a DVD rental store. The DVD rental database has many objects including:



15 tables

1 trigger

7 views

8 functions

1 domain

13 sequences



PostgreSQL Sample Database Tables

There are 15 tables in the DVD Rental database:



actor – stores actors data including first name and last name.

film – stores films data such as title, release year, length, rating, etc.

film_actor – stores the relationships between films and actors.

category – stores film’s categories data.

film_category- stores the relationships between films and categories.

store – contains the store data including manager staff and address.

inventory – stores inventory data.

rental – stores rental data.

payment – stores customer’s payments.

staff – stores staff data.

customer – stores customers data.

address – stores address data for staff and customers

city – stores the city names.

country – stores the country names.



You can use the pgAdmin tool to restore the sample database from the downloaded database file using the following steps:





First, launch the pgAdmin tool and connect to the PostgreSQL server.



Next, right-click on the dvdrental database and choose Restore… menu item as shown:



After that, wait for a few seconds to let the restoration process completes.



Finally, open the dvdrental database from object browser panel, you will see the tables in the public schema and other database objects as shown.



We have shown you how to load the dvdrental sample database into the PostgreSQL database server for learning and practicing PostgreSQL.



Let’s start learning PostgreSQL and have fun!

How To Return A Table From A Function In PostgreSQL || PostgreSQL Tips




Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.





RETURNING A TABLE FROM A FUNCTION IN POSTGRESQL

Sometimes for our needs, we may need to return a table from a user-defined function a table. In this blog, we will see how to accomplish this using the PostgreSQL database.

Before going to function and it’s implementation, let’s create a table and store several dummy records in it.
After insertion, let’s check the table values by executing the below statement.

select * from public.functiontest;

CREATE TABLE public.FunctionTest
(
id numeric,
name character varying
);

ALTER TABLE public.FunctionTest
OWNER to postgres;


We have created a table named FunctionTest having 2 columns only.

Let’s put records in it.

INSERT INTO public.functiontest(
id, name)
VALUES (1, 'Akram');

INSERT INTO public.functiontest(
id, name)
VALUES (2, 'Sohail');

The output is shown in the above snapshot.

Now suppose we want to retrieve all the data available in the table by using a user-defined function.

To do it, let’s create a function.

CREATE OR REPLACE FUNCTION public.get_data(
)
RETURNS TABLE(v_id numeric, v_name character varying)
LANGUAGE 'plpgsql'

COST 100
VOLATILE
ROWS 1000

AS $BODY$
DECLARE

BEGIN
RETURN QUERY
SELECT
id,name
FROM
public.functiontest;
END;
$BODY$;

ALTER FUNCTION public.get_data()
OWNER TO postgres;


We have created a simple function get_data() that will return us all the data present in the table functiontest.

To return a table from the function, we use RETURNS TABLE syntax and specify the columns of the table. Each column is separated by a comma (,).

In the function, we return a query that is a result of a SELECT statement. We can see that the columns in the SELECT statement must match with the columns of the table that we want to return.


To call the function, we use the following statement.

SELECT public.get_data();


As we know, the function is returning a table, so here is the output for the called function.
We can also call the function as below, that gives better tabular form output.

SELECT * from get_data();

The above snapshot are the outcome of the function get_data().
So in this way we return a table from a function in PostgreSQL.

Saturday, 23 May 2020

How To Download And Install PostgreSQL 12.3 Latest Release In 64 Bit Windows 10 in 2020 || Knowledge 360



Only 3.9% of viewers are subscribing to my channel 😓.
I request you to please give click on Subscribe button.
It really helps me grow 😢.




Hello Friends, I am Akram and in this blog, I will tell you how to download and install the PostgreSQL 12.3 latest release in your windows 10 PC of 64 bit.




1. Click this link to download the installation file, which is of 190 MBs.






2. Install the file and follow step by step procedure.







3. When the installation is done, click on the finish.








4. Search for PgAdmin.







5. Now Enter the password you had given while installing.







Note:- Please take a screenshot of the configuration summary. If you forgot to, please watch the video again and uninstall the file and again install it.