Category: Programming

30
Dec
2015

Pattern Printing:Star and Half pyramid in C

#include<stdio.h> int main() { int i,j,rows; printf(“Enter the number of rows: “); scanf(“%d”,&rows); for(i=1; i<=rows; i++) {…

30
Dec
2015

Pattern Printing: 5*5 STARS in C

Code: #include<stdio.h> int main() { int i,j,rows; printf(“Enter the number of rows: “); scanf(“%d”,&rows); for(i=1; i<=rows; i++)…

28
Dec
2015

c library function strcmp()

http://www.cplusplus.com/reference/cstring/strcmp/ http://www.tutorialspoint.com/c_standard_library/c_function_strcmp.htm for the pseudocode: http://stackoverflow.com/questions/12136329/how-does-strcmp-work http://en.cppreference.com/w/c/string/byte/strncmp example: #include<string.h> #include<stdio.h> demo(const char* lhs,const char* rhs) { int rc=strcmp(lhs,rhs);…

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…