Mobile Services Provider Database
Mobile Services Provider Database
CONTENTS
1. Introduction of C 2. Mobile services present scenario 3. Model of mobile computing 4. Benefits of the Mobile Web For Mobile Service Provider: 5. Description of mobile service provider 6. Coding 7. Result
1. INTRODUCTION OF C:We begin our journey with a little history. C , has become one of the most popular programming languages. Originally designed for systems programming, C was developed by Dennis Ritchie at Bell Laboratories in 1972. Most of its principles and ideas were taken from the earlier language B, BCPL and CPL. CPL was developed jointly between the Mathematical Laboratory at the University of Cambridge and the University of London Computer Unit in 1960s. CPL (Combined Programming Language) was developed with the purpose of creating a language that was capable of both machine independent programming and would allow the programmer to control the behavior of individual bits of information. But the CPL was too large for use in many applications. In 1967, BCPL (Basic Combined Programming Language) was created as a scaled down version of CPL while still retaining its basic features. This process was continued by Ken Thompson. He made B Language during working at Bell Labs. B Language was a scaled down version of BCPL. B Language was written for the systems programming. In 1972, a co-worker of Ken Thompson, Dennis Ritchie developed C Language by taking some of the generality found in BCPL to the B language. The original PDP-11 version of the Unix system was developed in assembly language. In 1973, C language had become powerful enough that most of the Unix kernel was rewritten in C. This was one of the first operating system kernels implemented in a language other than assembly. During the rest of the 1970's, C spread throughout many colleges and universities because of its close ties to UNIX and the availability of C compilers. Soon, many different organizations began using their own versions of C Language. This was causing great compatibility problems. In 1983, the American National Standards Institute (ANSI) formed a committee to establish a standard definition of C Language. That is known as ANSI Standard C. Today C is the most widely used System Programming Language
Recent times have seen the eld of mobile technology grow exponentially, leading to institutions increasingly recognising the importance of delivering content and services to users through their mobile devices. In many cases these can simply be delivered using the web, optimising your websites for use on smaller screens. However, in some cases you may wish to deliver a service that takes advantage of the native capabilities of todays powerful smartphones, such as GPS for locationbased services for example. You may want to deliver access to campus services like the library, timetabling, room bookings or local travel information. Or you may simply want to deliver the whole app experience, with optimised interfaces and interactions around modern touch screens.
But how do institutions approach this when there is such fragmentation across devices, mobile operating systems and their subsequent app ecosystems?
The predominate focus on mobile app development is to develop native apps; apps that run on a particular platform, like Apples iOS or Googles rapidly growing Android and have your users install them from the platforms app store. However, there are still others in the game such as RIMs BlackBerry and Microsofts long awaited re-emergence in the mobile space with Windows Phone (who, at the time of writing, have just announced a massive strategic partnership with Nokia in a bid to build another ecosystem). If you want to widen access through mobile devices you really also need to be as inclusive as possible and develop your app so it can run across all these platforms. Given that different platforms use different SDKs (Software Development Kits), different programming languages and then each have their own hoops you must jump through to distribute through their app store (including cost), institutions must ask themselves if they have the resources to do this and more importantly what exactly is it that they want their app to do?
If you do want to deliver content & services to mobile and you do need to develop an app to do it, a viable alternative could be a Mobile Web App.
6. Source Code:
#include<stdio.h> #include<conio.h>
struct mob{ char name[25],address[50],fathername[50],signature[50],idprooftype[50],proo fname[50],proofid[50]; }a; FILE *ftr; void star() { int i; for(i=1;i<=50;i++) { printf("*"); } printf("\n\n LOVELY PROFESSIONAL UNIVERSITY\n\n"); for(i=1;i<=50;i++) { printf("*"); } } void main() { int i; star(); printf("\nSelect 1 For Add New Records\nSelect 2 For View Records\n"); scanf("%d",&i); switch(i) { case 1: { printf("Enter The Name :- "); scanf("%s",&a.name); printf("\nEnter The Address :- "); scanf("%s",&a.address);
printf("Enter Father's Name :- "); scanf("%s%",&a.fathername); printf("Enter Signature :- "); scanf("%s",&a.signature); printf("Select Id Proof Type (1: Driving License 2: Voter Id Card ) :- "); scanf("%d",&i); switch(i) { case 1: { //a.idprooftype="Driving License"; printf("Enter the Name :- "); scanf("%s",&a.proofname); printf("Enter The Proof Id :- "); scanf("%s",&a.proofid); ftr=fopen("myfile.txt","a"); fprintf(ftr,"%s %s %s %s %s %s %s\n",a.name,a.address,a.fathername,a.signature,"Driving_License" ,a.proofname,a.proofid); fclose(ftr); }break; case 2: { // a.idprooftype="Voter Id Card"; printf("Enter the Name :- "); scanf("%s",&a.proofname); printf("Enter The Proof Id :- "); scanf("%s",&a.proofid); ftr=fopen("myfile.txt","a"); %s %s %s %s %s fprintf(ftr,"%s %s\n",a.name,a.address,a.fathername,a.signature,"Voter_Id_Card",a .proofname,a.proofid); fclose(ftr); }break; } }break; case 2: { %s %s %s %s %s printf("%s %s\n","name","address","fathername","signature","Voter_Id_Card"," proofname","proofid");
7. Result: