Featured

Learn C Programming

Read More
  • list
    9.4 C Preprocessor directives

    Before a C program is compiled in a compiler source code is processed by a program called preprocessor. This process is called preprocessing.Commands used in preprocessor are called preprocessor directives and they begin with ''#'' symbol. Below is the list…

  • list
    7.4 Initialisation of Variables

    Initialization means assigning a value to the variable.If variables are not explicitly initialised then external and static variables are initialised to zero; pointers (see ch 8) are initialised to NULL ; auto and register variables have undefined values.int x =…

  • 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
    1.2 Advantages of C

    - Fast Powerful & efficient- Easy to learn.- It is portable- ''Mid-level'' Language- Widely accepted language- Supports modular programming style- Useful for all applications- C is the native language of UNIX- Easy to connect with system devices/assembly routines

  • list
    5.1 Conditional branching - if

    5.1.1 if statementAn if statement contains a Boolean expression and block of statements enclosed within braces.Structure of if statement :if (boolean expression ) /* if expression is true */  statements... ; /* Execute statements */If the Boolean expression is true…

  • list
    8.2 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. C Pointer is used to allocate memory…

Learn C++ Programming

Read More
  • list
    6.5 Random number

    C (and by extension C++) comes with a built-in pseudo-random number generator. It is implemented as two separate functions that live in the cstdlib header:srand() sets the initial seed value. srand() should only be called once.rand() generates the next random…

  • list
    8.5 Function overloading

    You can have multiple definitions for the same function name in the same scope. The definition of the function must differ from each other by the types and/or the number of arguments in the argument list. You can not overload…

  • list
    3.5 Operators

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

  • list
    7.1 Function Basics

    A function is a group of statements that together perform a task. All C programs made up of one or more functions. There must be one and only one main function. You can divide up your code into separate functions.…

  • list
    9.4 Preprocessor

    The preprocessors are the directives which give instruction to the compiler to preprocess the information before actual compilation starts.All preprocessor directives begin with # and only white-space characters may appear before a preprocessor directive on a line. Preprocessor directives are…

  • list
    5.3 cerr (error stream)

    The predefined object cerr is an instance of iostream class. The cerr object is said to be attached to the standard error device which is also a display screen but the object cerr is un-buffered and each stream insertion to…

Learn Java Programming

Read More
  • list
    7.3 Creating an Executable Applet

    To create an executable jar file there should be a main class (a class with a main method) inside the jar to run the software. An applet has no main method since it is usually designed to work inside a…

  • list
    5.2 Java API package

    An Application Programming Interface (API) in the context of Java is a collection of prewritten packages classes and interfaces with their respective methods fields and constructors. Similar to a user interface which facilitates interaction between humans and computers an API…

  • list
    5.6 Life Cycle

    The life cycle of the thread in java is controlled by JVM. A thread can be in one of the five states. New Runnable Running Non-Runnable (Blocked) Terminated 1) NewThe thread is in new state if you create an instance…

  • list
    5.3 System packages

    The package named java contains the package awt which in turn contains various classes required for implementing graphical user interface.There are two ways of accessing the classes stored in a package. The first approach is to use the fully qualified…

  • list
    8.1 Stream Classes

    The java.io package contains Stream classes which provide capabilities for processing all types of data.Java performs I/O through Streams. A Stream is linked to a physical layer by java I/O system to make input and output operation in java. In…

  • list
    4.4 Vectors

    Vector implements List Interface. Like ArrayList it also maintains insertion order but it is rarely used in non-thread environment as it is synchronized and due to which it gives poor performance in searching adding delete and update of its elements.Three…

Learn PHP Programming

Read More
  • list
    PHP - Environment Setup

    PHP - Environment Setup Try it Option OnlineWe have set up the PHP Programming environment on-line so that you can compile and execute all the available examples on line. It gives you confidence in what you are reading and enables you…

  • list
    PHP For C Developers

    PHP For C Developers The simplest way to think of PHP is as interpreted C that you can embed in HTML documents. The language itself is a lot like C except with untyped variables a whole lot of Web-specific libraries built…

  • list
    PHP - Constants Types

    PHP - Constants Types A constant is a name or an identifier for a simple value. A constant value cannot change during the execution of the script. By default a constant is case-sensitive. By convention constant identifiers are always uppercase. A…

  • list
    PHP - Decision Making

    PHP - Decision Making The if elseif ...else and switch statements are used to take decision based on the different condition.You can use conditional statements in your code to make your decisions. PHP supports following three decision making statements −if...else statement…

  • list
    PHP - Sessions

    PHP - Sessions An alternative way to make data accessible across the various pages of an entire website is to use a PHP Session.A session creates a file in a temporary directory on the server where registered session variables and their…

  • list
    PHP For PERL Developers

    PHP For PERL Developers This chapter will list out major similarities and differences in between PHP and PERL. This will help PERL developers to understand PHP very quickly and avoid common mistakes.SimilaritiesCompiled scripting languages − Both Perl and PHP are scripting…

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# - Type Conversion

    img{display: inline; height: auto; max-width: 100%;} C# - Type Conversion Type conversion is converting one type of data to another type. It is also known as Type Casting. In C# type casting has two forms: Implicit type conversion - These…

  • list
    C# - Data Types

    img{display: inline; height: auto; max-width: 100%;} C# - Data Types The variables in C# are categorized into the following types: Value types Reference types Pointer types Value Type Value type variables can be assigned a value directly. They are derived…

  • list
    C# - Exception Handling

    img{display: inline; height: auto; max-width: 100%;} C# - Exception Handling An exception is a problem that arises during the execution of a program. A C# exception is a response to an exceptional circumstance that arises while a program is running…

  • list
    C# - Basic Syntax

    img{display: inline; height: auto; max-width: 100%;} C# - Basic Syntax C# is an object-oriented programming language. In Object-Oriented Programming methodology a program consists of various objects that interact with each other by means of actions. The actions that an object…

  • 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…

Learn Unix & Shell Programming

Read More
  • list
    Unix - Shell Input/Output Redirections

    Unix - Shell Input/Output RedirectionsMost Unix system commands take input from your terminal and send the resulting output back to your terminal. A command normally reads its input from a place called standard input which happens to be your terminal…

  • list
    Unix - Network Communication Utilities

    Unix - Network Communication UtilitiesWhen you work in a distributed environment then you need to communicate with remote users and you also need to access remote Unix machines.There are several Unix utilities which are especially useful for users computing in…

  • 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 - The vi Editor Tutorial

    Unix - The vi Editor TutorialThere are many ways to edit files in Unix and for me one of the best ways is using screen-oriented text editor vi. This editor enable you to edit lines in context with other lines…

  • 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 - Shell Loop Types

    Unix - Shell Loop TypesLoops are a powerful programming tool that enable you to execute a set of commands repeatedly. In this tutorial you would examine the following types of loops available to shell programmers −The while loopThe while loop…

Learn JavaScript

Read More
  • list
    jQuery: Other Tricks

    JQuery: Other TricksjQuery also helps you out with other common tasks particularly where things are inconsistent across browsers.DOMContentLoadedSometimes you will want to run JavaScript only when the DOM is loaded and ready (but before stylesheets are fully loaded) - for…

  • list
    Looping

    LoopingLoops are a way of repeating the same block of code over and over. They’re incredibly useful and are used for example to carry out an action on every item in an array or in searching. Two of the most common loops…

  • 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
    Events and Callbacks

    Events and CallbacksIn the browser most code is event-driven and writing interactive applications in JavaScript is often about waiting for and reacting to events to alter the behavior of the browser in some way. Events occur when the page loads…

  • list
    Node.js

    Node.js  Much of the code we’ve seen so far has been with a web browser in mind using DOM APIs that are only available in that environment. But JavaScript has found its way to the other side of the client/sever divide…

  • list
    Objects

    ObjectsJavaScript objects are like a real life objects; they have properties and abilities. A JavaScript object is in that sense a collection of named properties and methods - a function. An object can be stored in a variable and the…

SQLite Tutorial

Read More
  • list
    Chapter 35

    Description:The SQLite date function is a very powerful function that can calculate a date/time value.Syntax: date(timestring [ modifier1 modifier2 ... modifier_n ] )Parameters or Arguments:timestringA date value. It can be one of the following: timestring Explanation now now is a…

  • list
    Chapter 22

    Description:The SQLite OR Condition is used to test two or more conditions where records are returned when any one of the conditions are met. It can be used in a SELECT INSERT UPDATE or DELETE statement.Syntax: WHERE condition1 OR condition2…

  • list
    Chapter 11

    Description:SQLite tables store data in rows one row after another. The SQLite INSERT statement is used to insert a single record or multiple records into a table in SQLite by specifying a list of values to be inserted into each…

  • 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 34

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

  • list
    Chapter 17

    Description:The SQLite ORDER BY clause is used to sort the records in your result setSyntax: SELECT expressions FROM tables WHERE conditions ORDER BY expression [ ASC | DESC ];Parameters or Arguments:expressionsThe columns or calculations that you wish to retrieve.tablesThe tables…

Post Your Article

Click Here