Category: Language

25
Dec
2015

php-gcm project for sending sms to any number through google cloud messaging

This is an opensource project by me and final release is version 1.0.1 till now. Description: First…

25
Dec
2015

PHP-GCM to specified destination number

https://github.com/anjlab/android-sms-gateway   Reference: https://gist.github.com/prime31/5675017#file-gistfile1-php-L16   code: <?php // API access key from Google API’s Console define( ‘API_ACCESS_KEY’, ‘the…

19
Dec
2015

5*5 matrix in Javascript,Unityscript(Multidimensional Array)

http://stackoverflow.com/questions/10021847/for-loop-in-multidimensional-javascript-array http://jsfiddle.net/TRR4n/ My code: //To show the array value https://jsfiddle.net/zakilive/6yrx1opj/1/ /* Author:Syed Ahmed Zaki www.zakilive.com */ var…

13
Nov
2015

Length of a input string

#include<stdio.h> int main() { char country[200]; int length; while(1==scanf(“%s”,country)) { length=string_length(country); printf(“length:%d\n”,length); } return 0; } int…

12
Nov
2015

Uppercase to Lowercase

Lowercase to Uppercase #include<stdio.h> int main() { char country[]={‘b’,’a’,’n’,’g’,’l’,’a’,’d’,’e’,’s’,’h’}; int i,length; printf(“%s\n”,country); length=10; for(i=0;i<length;i++){ if(country[i]>=97 && country[i]<=122)…

05
Nov
2015

Area of Circle using function

for formula: http://www.mathsisfun.com/area.htm code: #include<stdio.h> double pi=3.1416; double britto(double r) { double area=pi*r*r; return area; } int…