Month: December 2015

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++)…

29
Dec
2015

To push in github

First we have to make the system to push: From windows you can use git bash or…

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);…

27
Dec
2015

Git commands in easy way

http://rogerdudler.github.io/git-guide/ https://developers.openshift.com/en/getting-started-windows.html#client-tools Some steps are shown here to clone: C:\> git clone <git_url> <directory to create> Submitting…

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…