Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Allocating memory dynamically in C

In C programming, you will allocate memory dynamically by using the functions defined in the header files.   These functions are found in <stdlib.h> header file.   S.N. Function & Description 1 vo

Rake task to parse third party XML file in rails

Parsing a xml file means separating a data block into pieces by following an algorithms, so that we can be easily manipulate.   If there are a requirement in rails application to read XMl file from remote, we can use the Nokogiri to read file

Converting code from C to PHP

Hi! I have a question about a small piece of code in C to make the same piece of code work in PHP, it has to do with a bit shift and I can't figure out what's wrong. C: unsigned u = 3910796769; u += u << 8; printf("%u\n",u);&

Javascript getDay() method

JavaScript getDay() Method Return the day of the week: var d = new Date(); var n = d.getDay(); This method is used for getting the days of week from 0-6 for the date specified. in this 0 stand for sunday and 1 stand for monday. Syntax is Date.get

Dynamic memory allocation in C

Dynamic memory allocation is a manual memory management for the dynamic memory with use of some group of functions in like malloc, realloc, calloc and free. The process of allocating memory during the execution of a C program is called a Dynamic mem

Using MySQL with node.js

Hello Everyone , In this blog we will discuss about how to use MYSQL in node.js. node-mysql is one of the best modules which can be used for working with MySQL database. To install the MySQL in node.js driver you have to follow up with the below pro

How to get Package information programmatically in Android

In some cases we have to get global information about application environment programmatically. We will get package name, version name, version code, application info and last updated time using the PackageInfo class which contains all of the informa

read phone call logs in android

Android provides Cursor interface to get all calls logs. A cursor interface provides read-write to get the result set by database query. Here stringOrder query will access phone calls date wise in desc order. Cursor loader basically perform queries

Default Group of all registered users in liferay

New users have no group, even it is created and referenced in portal-ext.properties. 1). Input a list of default group names separated by \n characters that are 2). associated with newly created users. portal-ext.properties # admi

Implement Binary Search Using C

Binary Search:- The Binary Search is one of the most important searching technique in Searching Algorithm. The one of property of this searching algorithm is, all the elements are in sorted order in array. The worst case and average case complexity o

1 18 156
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: