Featured

Learn C Programming

Read More
  • list
    5.4 Local Jumps goto

    We can jump to any statement inside the same function using goto. To spot the end point of the jump a label (tag) is used. goto statement is not to ideal to choose in any programming language because it makes…

  • list
    5.3 Loops - while & for

    While loopThe while loop calculates the expression before every loop. If the expression is true then block of statements is executed so it will not execute If the condition is initially false. It needs the parenthesis like the if statement.while…

  • list
    8.3 String

    A string is simply an array of characters which is terminated by a null character '\0' which shows the end of the string. Strings are always enclosed by double quotes. Whereas character is enclosed by single quotes in C. This…

  • list
    5.2 Conditional selection - switch

    switch()A switch statement is used instead of nested if...else statements. It is multiple branch decision statement of C.A switch statement tests a variable with list of values for equivalence. Each value is called a case.The case value must be a…

  • list
    3.2 Operators

    An operator is a symbol. Compiler identifies Operator and performs specific mathematical or logical operation.C provides following operators : # Arithmetic Operators# Increment and Decrement Operators# Relational Operators# Logical Operators# Cast Operators# Bitwise Operators# Assignment Operators3.2.1 Arithmetic Operators* multiplication/ division%…

  • list
    7.3 Definition & Declaration

    Definition is the place where variable is created (allocated storage).Declaration is a place where nature (type) of variable is stated but no storage is allocated.Initialization means assigning a value to the variable.Variables can be declared many times but defined only…

Learn C++ Programming

Read More
  • list
    7.4 Recursion

    Recursion is a programming technique that allows the programmer to express operations in terms of themselves.In C++ this takes the form of a function that calls itself. A useful way to think of recursive functions is to imagine them as…

  • list
    3.2 Variable scope

    Refers to where variables is declared. It can be Inside a function or a block which is called local variables In the definition of function parameters which is called formal parameters or Outside of all functions which is called global…

  • list
    5.1 cout (output stream)

    On most program environments the standard output by default is the screen and the C++ stream object defined to access it is cout. cout is an instance of iostream classFor formatted output operations cout is used together with the insertion…

  • list
    4.3 Pointer

    Pointer is a variable that stores the address of another variable. They can make some things much easier help improve your program's efficiency and even allow you to handle unlimited amounts of data. Pointer is used to allocate memory dynamically…

  • list
    3.3 Constants - Literals

    Constants refer to fixed values in the code that you can't change and they are called literals.Constants can be of any of the basic data types and can be divided into Integer literals Floating-Pointliterals Strings Characters and Boolean Values.Integer literalsAn…

  • list
    8.6 Operator Overloading

    Operator overloading is an important concept in C++. It is a type of polymorphism in which an operator is overloaded to give user defined meaning to it. Overloaded operator is used to perform operation on user-defined data type.Overloaded operators are…

Learn Java Programming

Read More
  • list
    2.2 Expression

    Expressions perform operations on data and move data around. Some expressions will be evaluated for their results some for their side effects some for both.An assignment expression has the following form. variable-expression assignment-operator expressionThe variable expression can be just the…

  • list
    1.4 Environment Setup

    We need to install the Java Development Toolkit aka JDK which is bundled with the Java Runtime Environment. At this moment the latest JDK versions is JDK 8.All you have to do is head to the main download page provided…

  • list
    6.1 Introduction

    An applet is a small Java program that is embedded and ran in some other Java interpreter program such as a Java technology-enabled browser Or Sun's applet viewer program called appletviewer.An applet can be a fully functional Java application because…

  • list
    4.8 Implementing Interfaces

    A class uses the implements keyword to implement an interface. The implements keyword appears in the class declaration following the extends portion of the declaration.class classname implements interfacename { body of classname }here the classname implements the interface interfacename. A…

  • list
    2.8 For loop

    Java for loop used to repeat execution of statement(s) until a certain condition holds true. The general form of the for statement can be expressed as follows: for (initialization; termination; increment){ statement(s)...}You can initialize multiple variables test many conditions and…

  • list
    1.2 Features

    1. SimpleJava is easy to learn and its syntax is quite simple and easy to understand.2. Object-OrientedIn java everything is Object which has some data and behaviour. Java can be easily extended as it is based on Object Model.3. Platform…

Learn PHP Programming

Read More
  • list
    PHP - File Uploading

    PHP - File Uploading A PHP script can be used with a HTML form to allow users to upload files to the server. Initially files are uploaded into a temporary directory and then relocated to a target destination by a PHP…

  • list
    Object Oriented Programming in PHP

    Object Oriented Programming in PHP We can imagine our universe made of different objects like sun earth moon etc. Similarly we can imagine our car made of different objects like wheel steering gear etc. Same way there is object oriented programming…

  • list
    PHP & XML

    PHP & XMLXML is a markup language that looks a lot like HTML. An XML document is plain text and contains tags delimited by < and >.There are two big differences between XML and HTML −XML doesn't define a specific…

  • list
    PHP - GET & POST Methods

    PHP - GET & POST MethodsThere are two ways the browser client can send information to the web server.The GET MethodThe POST MethodBefore the browser sends the information it encodes it using a scheme called URL encoding. In this scheme…

  • list
    PHP - Operator Types

    PHP - Operator Types What is Operator? Simple answer can be given using expression 4 + 5 is equal to 9. Here 4 and 5 are called operands and + is called operator. PHP language supports following type of operators.Arithmetic OperatorsComparison…

  • list
    PHP - Variable Types

    PHP - Variable Types The main way to store information in the middle of a PHP program is by using a variable.Here are the most important things to know about variables in PHP.All variables in PHP are denoted with a leading…

Learn C# Programming

Read More
  • list
    C# Tutorial

    img{display: inline; height: auto; max-width: 100%;} C# Tutorial C# is a simple modern general-purpose object-oriented programming language developed by Microsoft within its .NET initiative led by Anders Hejlsberg. This tutorial will teach you basic C# programming and will also take…

  • list
    C# - Attributes

    img{display: inline; height: auto; max-width: 100%;} C# - Attributes An attribute is a declarative tag that is used to convey information to runtime about the behaviors of various elements like classes methods structures enumerators assemblies etc. in your program. You…

  • list
    C# - Delegates

    img{display: inline; height: auto; max-width: 100%;} C# - Delegates C# delegates are similar to pointers to functions in C or C++. A delegate is a reference type variable that holds the reference to a method. The reference can be changed…

  • list
    C# - Generics

    img{display: inline; height: auto; max-width: 100%;} C# - Generics Generics allow you to delay the specification of the data type of programming elements in a class or a method until it is actually used in the program. In other words…

  • list
    C# - Classes

    img{display: inline; height: auto; max-width: 100%;} C# - Classes When you define a class you define a blueprint for a data type. This does not actually define any data but it does define what the class name means. That is…

  • list
    C# - Environment

    img{display: inline; height: auto; max-width: 100%;} C# - Environment Try it Option Online We have set up the C# Programming environment online so that you can compile and execute all the available examples online. It gives you confidence in what…

Learn Unix & Shell Programming

Read More
  • list
    Unix - System Logging

    Unix - System LoggingUnix systems have a very flexible and powerful logging system which enables you to record almost anything you can imagine and then manipulate the logs to retrieve the information you require.Many versions of UNIX provide a general-purpose…

  • list
    Unix - Special Variables

    Unix - Special VariablesPrevious tutorial warned about using certain nonalphanumeric characters in your variable names. This is because those characters are used in the names of special Unix variables. These variables are reserved for specific functions.For example the $ character…

  • list
    Unix - Shell Functions

    Unix - Shell FunctionsFunctions enable you to break down the overall functionality of a script into smaller logical subsections which can then be called upon to perform their individual task when it is needed.Using functions to perform repetitive tasks is…

  • list
    Unix - Environment

    Unix - EnvironmentAn important Unix concept is the environment which is defined by environment variables. Some are set by the system others by you yet others by the shell or any program that loads another program.A variable is a character…

  • list
    Unix - Basic Utilities - Printing Email

    Unix - Basic Utilities - Printing EmailSo far you must have got some idea about Unix OS and nature of its basic commands. This tutorial would cover few very basic but important Unix utilities which you would use in your…

  • list
    Unix - Shell Quoting Mechanisms

    Unix - Shell Quoting MechanismsThe MetacharactersUnix Shell provides various metacharacters which have special meaning while using them in any Shell Script and causes termination of a word unless quoted.For example ? matches with a single charater while listing files in…

Learn JavaScript

Read More
  • list
    jQuery: AJAX

    JQuery: AJAXjQuery has some AJAX helper methods that save time and are much easier to read. They are all properties of the $ variable: $.get $.post and $.ajax.$.ajax is the main method allowing you to manually construct your AJAX request…

  • list
    Errors and Exceptions

    Errors and Exceptions  Errors are often used to notify another piece of code that something went wrong when trying to carry out a task and that error may then be passed on to the user.When errors are created — thrown —…

  • list
    JS Apps

    JS Apps  These days JavaScript is being used to build large-scale web applications and the web is maturing as a platform for doing so. These apps have the advantage of being able to be highly interactive and responsive requiring fewer page…

  • list
    Making Stuff Happen

    Making Stuff HappenThere’s a few ways to try out JavaScript and when learning it’s best to try them out to see what works for you. But first how does JavaScript relate to HTML and CSS?HTML CSS and JavaScriptMostly JavaScript runs…

  • list
    Closures

    Closures  A closure is a function that returns a function. The function that is returned (the inner function) is created inside the called function (the outer) so - due to the scoping rules we’ve seen - the inner has access to…

  • list
    Variables and Data

    Variables and DataStoring data so we can use it later is one of the most important things when writing code. Fortunately JavaScript can do this! If it couldn’t it’d be pretty darn useless.So let’s ask the user (that’s you) for…

SQLite Tutorial

Read More
  • list
    Chapter 32

    Description:The SQLite MAX function returns the maximum value of an expression.Syntax: SELECT MAX(aggregate_expression) FROM tables WHERE conditions;OR Grouping the results by one or more columns is: SELECT expression1 expression2 ... expression_n MAX(aggregate_expression) FROM tables WHERE conditions GROUP BY expression1 expression2…

  • list
    Chapter 4

    Description: Comparison operators are used in the WHERE clause to determine which records to select. Here is a list of the comparison operators that you can use in SQLite: Comparison Operator Description = Equal == Equal <> Not Equal !=…

  • list
    Chapter 13

    Description:The SQLite DELETE statement is used to delete a single record or multiple records from a table in SQLite.Syntax: DELETE FROM table WHERE conditions;Note: DELETE Statement uses WHERE clause. The WHERE clause specifies which record or records that should be…

  • list
    Chapter 10

    Description:The SQLite SELECT LIMIT statement is used to retrieve records from one or more tables in SQLite and limit the number of records returned based on a limit value.Syntax: SELECT expressions FROM tables WHERE conditions ORDER BY expression [ ASC…

  • list
    Chapter 29

    Description: The SQLite IS NULL Condition is used to test for a NULL value in a SELECT INSERT UPDATE or DELETE statement.Syntax: expression IS NULLParameters or Arguments:The expression to test whether it is a NULL value.Note: If expression is a…

  • list
    Chapter 9

    Description:The SQLite SELECT statement is used to retrieve records from one or more tables. The result is stored in a result table called the result-set.Syntax: SELECT [ ALL | DISTINCT ] expressions FROM tables;Note: SQLite is not case sensitive. SELECT…

Post Your Article

Click Here