From the course: Code Clinic: C

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introduction

Introduction - C Tutorial

From the course: Code Clinic: C

Start my 1-month free trial

Introduction

- [Instructor] Hello and welcome to the second problem of the Code Clinic Series. This problem is titled Where Am I? and demonstrates how to create geolocation applications. Every modern computer has the ability to find its location. HTML 5 has the geolocation API, Google Maps returns a location and accuracy radius for mobile phones based on WiFi and cell towers. Some libraries map the computer's IP address to a longitude and latitude. Some methods are more accurate than others. On board GPS is going to be more accurate than trying to guess WiFi addresses, but each method can provide some indication of where the computer is located. In this Code Clinic challenge, we're challenging our authors to create a geolocation app to show the location of the computer running their code. Their solution should reveal the longitude and latitude of the current location, as well as an indicator of how accurate that location is, expressed as a radius from the revealed longitude and latitude measured…

Contents