Skip to main content

Posts

Android development Role  Today the Mobile communication systems play very important role in our day to day life. There is enhancement in data rate and availability of data in mobile communication. Mobile provides the function of reminder depends on date and time. But now day’s smart phones provides us various application. One of the applications provided by smart phones is reminder which base on time. In this paper we introduce a new technology which is depends on Android OS which give the reminder about place that user want to visit. In the first part of this paper there is introduction about the application. In reaming paper will explain the technology. INTRODUCTION There is a lot of reminder and alert system in today’s mobile phones. But all these reminder system work based on time and da te. Sometimes there is desire for reminders based on location. For an example in daily routine we go to mall to purchase listed items n most of the times we forget s...

Android Tutorial for Beginners 4 # Basic Overview of an Android App

How to Install and Setup Genymotion for Android Studio ( GenyMotion Andr...

Android Tutorial for Beginners 2 # How to install Android Studio

Android Tutorial for Beginners 2 # How to install Android Studio

Android Tutorial for Beginners 3 # Building Your First Android App (Hell...

Android Tutorial for Beginners 1 # Introduction and Installing and Confi...

White space in PHP

White space in PHP : <html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!";                  /*As with HTML, whitespace is ignored between PHP statements.                                       This means it is OK to have one line of PHP code, then 20 lines of blank space                                       before the next line of PHP code. You can also press tab to indent your code and                                       the PHP interpreter will ignore those spaces as well. like from line 9 to line                      ...

First page of php

<html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!";  /* echo is used for the output statement so here the string [my first page of php will be                   will be displayed. The string should be in the " " for displying   */ ?> </body> </html>

Syntax of Php

PHP SYNTAX: Before we talk about PHP's syntax, let us first define what syntax is referring to. Syntax - The rules that must be followed to write properly structured code. PHP's syntax and semantics are similar to most other programming languages C, Java, Perl) with the addition that all PHP code is contained with a tag of sorts. All PHP code must be contained within the following: <?php All stuff will be in the between of this       ?>

Introduction to PHP

Introduction to php: PHP stands for Hypertext Preprocessor. Other Names : Personal Home Page, Professional Home Page Is a server side scripting language. Capable of generating the HTML pages HTML generates the web page with the static text and images. However the need evolved for dynamic web based application, mostly involving database usage. Why world need php: There are number of server side scripting available like ASP, SSJS, JSP….. PHP involves simplicity in scripting (..generally using the database) platform independence. PHP is primarily designed for web applications well optimized for the response times needed for web applications Is an open source. Data types of php: Three basic data types Integer Double String More data types Array Object PHP is an untyped language variables type can change on the fly.

Prefix and Post fix

Prefix and Post fix #include<iostream>     // it is  a library used for display #include<conio.h>      // its is also a library used for input output statement using namespace std; // Prefix increment and post fix increment main() { int a=3,b=4; cout<<".........Prefix increment.........."<<endl; cout<<"previous value of b="<<b<<endl;   // as we know what is happening here  cout<<++b<<"=due to prefix increment"<<endl;          /*as form the name prefix increment its increment value before using it in the program                       like b=4 so ++b mean increment a value before its get use */ cout<<".........Post fix increment.........."<<endl; cout<<"previous value of a="<<endl;  // as we know what is happening here cout<<"value of a is =\t"<<a++...

Temperature Convertor

#include<iostream>     // it is  a library used for display #include<conio.h>      // its is also a library used for input output statement using namespace std; main() { float c,f ;   // as i discussed earlier float is used for floating values like value is decimel so two variable are take  cout<<"Enter the temperature in Fahrenheit  ? :"; // its just comment whatever you want can add here within "" after cout  cin>>f;                                         // giving a value which will convert the program to Fahrenheit c= (f-32)*5.0/9.0;      // it is the formula to convert to fahrenheit cout<<"Temperature in celsius = "<<c; // here its show the value save in the c throgh the formula   } /* Here is your temperature converter to farhrenheid is ready */

Age Calculator

#include<iostream>     // it is  a library used for display #include<conio.h>      // its is also a library used for input output statement using namespace std; main() { int age;           // age variable with datatype int long int age_month; /* long is also a datatype but it can hold more bigger data then int                      so variable age_month with datatype long */ char name[50];     // char is datatype with variable name name it can only hold character like " naveed" cout<<"Enter name of person:"<<endl; // will output Comment "enter the name of person cin>>name;                   //here is input object through which you can enter the name of person cout<<"enter the age of person in year:"<<endl; // here its output the comment "enter the age " cin...

Cin function

#include<iostream>     // it is  a library used for display #include<conio.h>      // its is also a library used for input output statement using namespace std; main() { int a,b; // two variable are taken as a and b cout<<"enter a value "<<endl; /* as you know cout is used to print out your comment enclosed in " " this                              endl is used for next line */ cin>>a;        /* here is new thing "cin" it is used to input values on running time of program*/ cout<<"enter a value "<<endl; /* as you know cout is used to print out your comment enclosed in " " this                              endl is used for next line */ cin>>b;        /* here is new thing "cin" it is used t...

Arithm

/* c++ is world popular language you can do every thing with the help of this but after learning it today  lecture is on making calcultor but its mini hahahha c++ have some Arthmetic operator  like + ,- ,*, /, % today i will teach you how to use these operator in c++*/ #include<iostream> #include<conio.h> using namespace std; main() { int r;  // declaring variable of data type int r=2;    // assigning values to that variable int b;  //declaring another varaible ; b=4;    // assigning value to that variable int sum; // declaring another varaible to hold the sum of the two variables sum=r+b;  // here i am adding these two variables cout<<sum;  //here is output of sum variable } /* CONCEPT: you are aware of assigning values to variable but here is another concept  on line 21 i declare int sum on line 23 the addition of both r and b are assign  to the sum and at the en...

Assign Values to Variables

#include<iostream>     // it is  a library used for display #include<conio.h>      // its is also a library used for input output statement using namespace std; main()                 // it is the start of you your programe its means form here you will                        // start the coding . .  comouter only understand this main                       { int a=3,b=5;      /* Now what is  int a=3, b=5; as you are now full aware of (int)                   and (variable) but this  is some thing difficult. .  wait a minute                   its not difficult.*/ cout<<a<<endl; cout<<b<<endl;      /* as i discussed...