Friday, 26 September 2014

C Programming !

     I've been thinking about making video tutorials for the programming but i need some time.
Well i got a beginner E-book for you.
     Here's the link : Head First C , Do try it!

Saturday, 13 September 2014

One plus one!

       There is a talk everywhere about a new upcoming giant (hopefully) of mobile phone industries One Plus . Well this mobile is quite a good stuff for the people who are not brand concious like the users of Iphone , Samsung etc.

Here are some pictures of One plus one :   
     Well this mobile uses the Cyanogenmod 11s. Which is a custom rom , Those people who don't know about custom roms well let's just think it is a firmware which is installed on an android OS. It is basically used to revitalize the user experience with the device and as far as I'm concerned Cyanogenmod is the best ROM I've ever used . But let's not talk about it!

    This mobile is very budget friendly , Right now in UK you can get it's 16GB version for only £229
Which makes somewhat PKR 37k /- For such a great smartphone . Well i'm surely gonna try it , if my pocket supports me !

Thursday, 15 May 2014

Computer Programming!!!


What is Programming?
         
 You’re probably expecting something complex and technical in the answer of this question unfortunately you’re not going to get one. It is quite easy to describe Programming.
            Programming is actually breaking bigger tasks into smaller steps and completing it”
            It’s the simplest answer to this question.

Example:
            Suppose you’re given task to arrange a party. What are you going to do?
You’ve two options:
1. Do all the arrangements at the same time.
2. Work step by step.
1st one is obviously a bad idea. So let’s move ahead with step 2. First you’ll need to:
·         Pick out a good date for party.
·         Look out for a venue.
·         Hire a good caterer.
·         Hire a good DJ or band.
·         Buy and distribute Invitation cards.
Well this looks pretty easy rather than beating up your head with doing multiple tasks at one time. This is known as programming and using same methodology to make computer programs is known as computer programming.

Computer Programming
Let’s swim in the sea of computer programming. For Computer programming you need to learn or master (better choice) a programming language. A Programming language is a language used to make computer programs. There are different programming languages with different properties.


Generally there are two types of programming languages:
1.    Structured programming.
2.    Object Oriented Programming.
1. Structured Programming:
                  Structured programming is a type of a programming that is done without any classes. Means all the work is done in one main class, which is a bad choice in the present era.
Languages: C, GW BASIC.
2. Object Oriented Programming:
                 
Object Oriented Programming usually called OOP is a programming methodology in which programmers use real life objects as their classes in a program. There can be more than one class in a program (which is quite useful if you want to change anything in one class you can just open the class and edit the code but in structured programming you have to search the line of code in the whole program).
Languages: C#, Java, C++.
      Now we’ve talked about methods and classes but you don’t know anything about it so let’s discuss it.
Methods:
    
Methods are actually classes under classes which has property of being used again and again whenever programmer needs. In other words we write method with some code and whenever we need to use that code instead of writing code again we just call the method.

Classes:
    
Classes are objects of program that contain different properties and different identities. In OOP Classes are actual objects that are directly related with the program to perform different operations.
More ? :
  
Well Programming is a vast field, It needs proper understanding that cannot happen in one day. Everyone needs time to master it. Here are some java books with basics, Go through them.
     Barry Burd(Beginning Programming with java for dummies 3rd ed.)
      O’Rielly(Head First java 2nd ed.)
      Y.Daniel Liang(Introduction to java programming 8th ed.)