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

Search In

How to calculate distance from CLLocationCoordinate2D

Using the following code we can calculate the distance between two CLLocationCoordinate2D. +(double)calculateDistance:(CLLocationCoordinate2D) f to: (CLLocationCoordinate2D) t { // CLLocation *locA = [[CLLocation alloc] initWithLatitude:f.la

WiFi adapter not working on window 8.1

Hey everyone My WiFi adapter is not working due to some driver problem, WiFi adapter model number is Qualcomm Atheros AR9285 820.11 b/g/n WiFi Adapter. It is working fine with window 7 but when I installed Window 8.1 it stopped working I searched lo

Change Column data-type from VARCHAR to DATE

Hello friends, I am here for share the solution of a MySQL problem. If you want to change the data type of a column from varchar or any other one to date, you should need to use following query- UPDATE `tbl` SET `date1` = STR_TO_DATE(`date1`, '%d-%

joomla insert,update and delete

WE can easily manipulate our data from database in Joomla by using the below code. First need to call jfactory::getDBO$db = &JFactory::getDBO(); returns a reference for the database object in joomla. For INSERT query in Joomla structure $db =

How to calcuate distance between 2 place with the help of zip code in Php

Hello Everyone, today I am here to guide you "How to calcuate distance between 2 place with the help of zip code in Php". $point and $point are two places, you can pass these values into total_distance() function $radius is earth radius in miles $di

Compare strings in php

You will always get a situation where you want to compare the values with each other whether with the integers or with the string comparison. We can easily compare two strings with the help of comparison operator.If the two strings are equal to each

Computes the intersection of arrays using keys for comparison

If you want to get an array which contain all the entries of an array and have keys that are present in some other arrays for this you can use a predefined function array_intersect_key ( array $array1 , array $array2 [, array $... ] ). array_inters

Answer for this question in C/C++

Given an array of numbers I, write a program to find the sum of remaining in the array and display the new array. the first line specifies the no of elements in the array followed by the elements in the array in the second line. Sample input: 4 1 2

Java Check whether username already exists or not

I am having a file called customersinfo.txt this is how my file structure looks like ID FirstName LastName Email Mobile UserName PassWord ConPassWord 1 John Sam JS@gmail.com 0123 JhonSam12 1234 1234 2 ---- ------ ----------- ---- ----- ------ ------

Sieve of Eratosthenes

Hello, This blog is to help you to understand Sieve of Eratosthenes algorithm for prime number generation in easiest way. This algorithm is to calculate the prime number up to a limit with lesser time complexity, but it takes O(n) extra space&n

1 16 949
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: