C program to find number of days in a month

C Programming Tutorial

C program to find number of days in a month This is a simple program to get number of days in a month. Leap year is not being chacked in the program. This program uses switch case. #include <stdio.h> int main() { int month; int days; printf(“Enter month: “); scanf(“%d”,&month); switch(month) { case 4: case … Read more

Runing Asterisk command from bash script -shell script

bash: #!/bin/sh asterisk -rx ‘command’ if you want to see the result of a command in a file: asterisk -rx ‘command’ > /some_dir/some_file.txt Perl: #!/usr/bin/perl system qq(asterisk -rx ‘command’)

C switch case program to read weekday number and print weekday name

C Programming Tutorial

C switch case program to read weekday number and print weekday name This program will read weekday number (0-6) and print weekday name (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday)   Weekday Number Weekday Name 0 Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday Program Example: #include <stdio.h> int main() … Read more

webrtc implementation asterisk : Webphone

webrtc implementation on asterisk

webrtc implementation on asterisk with Webphone What is WebRTC WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.The mission of WebRTC is to enable rich, high-quality RTC applications to be developed for the … Read more

C Program to Check Even or Odd number

turbo c++ program editor

C Program to Check Even or Odd number : C Program Example An even number is an integer that is exactly divisible by 2. Example: 2,4,6, 8,10,12,14,16 etc An odd number is an integer that is not exactly divisible by 2. Example: 1, 3,5,7, 9,11, 15,17 etc C Program start from here #include int main() … Read more

Views in MySQL : MySQL Views

MySQL Cluster

Summary: in this tutorial, you are going to learn about MySQL View. We will explain how MySQL implements views. MySQL supports database views or views since version 5.X. In MySQL, almost features of views conform to the SQL: 2003 standard. MySQL process queries to the views in two ways: MySQL creates a temporary table based on the view definition … Read more

if else statement in c

C Programming Tutorial

The if statement by itself will execute a single statement, or a group of statements, when the expression following if evaluates to true. It does nothing when the expression evaluates to false. Can we execute one group of statements if the expression evaluates to true and another group of statements if the expression evaluates to … Read more

LeEco exchange offers

flipkart_eduguru

Click Here toBuy on Flipkart    LeEco, formerly known as LeTv, has announced LeEco Day part 2 where it is offering exchange deals on its budget Le 1s and high-end Le Max smartphone. LeEco Day sales will be today and tomorrow (April 8) on Flipkart, which is the exclusive retail partner for the LeEco smartphones in … Read more

Installing LAMP on RHEL or Centos 7

lamp installation

Installing LAMP on RHEL or Centos 7  Install httpd services – Web service # yum install httpd Restart httpd resvices # systemctl restart httpd Check status of httpd services # systemctl status httpd Stop httpd services # systemctl stop httpd Start httpd services  # systemctl start httpd Install php # yum install php php-mysql php-pdo … Read more