Showing posts with label Learning. Show all posts
Showing posts with label Learning. Show all posts

Introduction to Visual Basic 6 (VB6)

Visual Basic 6 (VB6) helps you to learn Visual Basic 6.0 (VB6) programming in your own. Each and every lesson is explained step by step with examples and source code.
Visual basic is a high level programming language developed from the earlier DOS version called BASIC. Though, Visual Basic .NET is the latest technology introduced by Microsoft with tons of new features including the .NET framework and educational institues, Universities and Software Development companies have migrated to VB .NET, Visual Basic 6 is still widely learned and taught.

Learning Visual Basic 6 is quite easier than other programming languages
                       such as C++, LEARN MORE >>

Learn UNIX

If you’re just beginning to work on a Unix system, the abundance of commands might prove daunting. To help orient you, the following lists present a small sampling of commands on various topics.
Communication                                                                              File Management
ftp : File transfer protocol.                                                cat: Concatenate files or display them.
login : Sign on to Unix.                                                     cd : Change directory.
mailx : Read or send mail.                                                chmod : Change access modes on files.
rlogin : Sign on to remote Unix.                                        cp : Copy files.
talk : Write to other terminals.                                          csplit : Break files at specific locations.
telnet : Connect to another system.                                   file : Deter mine a file’s type.
vacation : Respond to mail automatically
LEARN MORE>>

Hosting Your Website

Once you have finished creating all the webpages, you must host it onto a webserver. A webserver is a computer that can be accessed by the entire world and it is always connected to the World Wide Web. It contains several websites created by different persons. In order to make website public, you must register it. Once it is registered, that website address becomes unique only to your website and anyone who types the URL in their browser will be directed to your webpages.
The second step is to gain some space in a webserver. There are several webservers that hire out space for a small charge and give you a user name and password to access that space and put your webpages. Once that is done, you are now ready top host your webpages.  LEARN MORE>>

Html Introduction

What is HTML?HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language. HTML is not a programming language, it is a markup language. A markup language is a set of markup tags. HTML uses markup tags to describe web pages.
HTML Tags
HTML markup tags are usually called HTML tags. HTML tags are keywords surrounded by angle brackets like . HTML tags normally come in pairs like and LEARN MORE>> .
HTML, XHTML, and CSS, Sixth Edition

Iterative Statement: do-while Loop

It is another repetitive control structure provided by C++. It is an exit control loop. It evaluates its test-expression after executing its loop body statements. A do-while loop always executes at least once.
The syntax of the do-while loop is
do
{
statement;
}
while ;

LEARN MORE>>

Iterative Statement : While Loop

The while loop.
As mentioned earlier, the while loop is an entry controlled loop. The syntax of a while loop is
while (condition) statement
and its function is simply to repeat statement while expression is true. While is a reserved word of C++; condition is a Boolean expression; and statement can be simple or compound statement.
For example, we are going to make a program to count down using a while loop: LEARN MORE>>

Iterative Statement : for Loop

For some programming objectives it is necessay to repeat a set of statements a number of times until a certain condition is fulfilled. In such situations iteration statements can be used. The iteration statements are also called loops or looping statements.
Parts of a loop
1. Initialization Expression.
2. Test Expression
3. Update Expressions
4. Body of the loop.
The for Loop
The for loop is a deterministic loop in the sense that the program knows inadvance how many times the loop is to be executed.
LEARN MORE>>

The Selective Structure : switch

The syntax of the switch instruction is a bit peculiar. Its objective is to check several possible constant values for an expression, something similar to what we did at the beginning of this section with the linking of several if and else if sentences. Its form is the following:
switch (expression)
{
case constant1:
block of instructions 1
break;
case constant2:
block of instructions 2
break; . . .
default: default block of instructions

Program Control Statements

The program flow in high - level languages is sequential. A program is usually not limited to a linear sequence of instructions. Therefore there is a use of control structures that serve to specify what to do with our program and how.
C++ provides statemets to perform efficiently and effectively. Such statements are called program control statements. These are selection statements ( if and switch), iteration statements (for, while and do-while) and jump statements such as (return, goto, exit(), break and continue)
Statements
Statements are instructions given to the computer to perform an action such as moving data, taking decisions or repeating actions. LEARN MORE>>

Expressions

An Expression is comprised of one or more operations. The objects of the operation(s) is reffered to as operands. the conditions are represented by operators.
A C++ expression is a combination of operations, constants, and variables.
An expression is any statement which is composed of one or more operands and returns a value. It may be a combination of operators, variables and constants. the expression may be simple or complex.
Rules of formation of expression: LEARN MORE>>

Precedence of Operators

Precedence and associativity are the two important properties of operators. Precedence is the order in which a program performs / evaluates the operation in a formula. All operators have a precedence value. An operator with higher precedence is evaluated before an operator with a lower precedence value.
When making complex expressions with several operands, we may have some doubts about which operand is evaluated first and which later. For example, in this expression:
a = 5 + 7 % 2 LEARN MORE >>

Operators & Expressions in C++

Introduction
An operator is a symbol or letter which makes the compiler perform a specific operation on operands (variables) in a program.
An expression is a combination of operands ( i.e, constants, variables, numbers), and operators that perform a specific operation and parenthesis.
An expression is a sequence of operators that specifies a computation. an expression may result in a numerical value.
For example: x+y is an expression in which the sign + is an operator which specifies the addition operation. LEARN MORE >>

Structure of a C++ Program

The structure of a C++ program is as described below:-
1. At the top of the program header files are declared.
2. A C++ prgram starts executing from main() function. The body of the main function is included with surly braces.
3. Each of the statment of the C++ program must end with a semicilon. a semicilon is also known as statement terminator.
So my first program would probably be:- LEARN MORE>>

Use of I/O Operators

INPUT / OUTPUT statements of C++ can be used for input of data from an input device such as a keyboard or to obtain output on output devices such as VDUs and printers.
In C++, input/output devices are treated as files; files are treated as a sequence or a stream of bytes. In other words, a stream in C++ means a flow of bytes from an input device to the CPU(input stream) and from the CPU to an output device (output stream).
Streams used for input and output are: LEARN MORE >>

Operators

Operators: Operators are tokens that perform some computation when applied to variables and other objects in an expression. they can be unary or binary.
Unary Operators: Unary operators require one operator to operate upon. The following are examples of unary operators.
& Address operator
* Indirection operator
+ Unary plus
- Unary minus
~ Bitwise operator
++ increment operator
-- decrement operator
! Logical NOT LEARN MORE>>

C++ Tokens

One of the first jobs performed by a compiler is to read in the source code and group individual characters into tokens., the lowest level of symbols used in defining a programming language.
A C++ compiler always collects characters into the longest possible tokens, using white spaces to demarcate them. White spaces must be used to seperate an identifier, reserved word, integer constant, floating point constant from a following identifier, reserved word, integer constant or floating point constant and arithmetic or boolean operators. LEARN MORE>>

Data Types

Data type is defined as the set of possible values a variable can hold. Data types in C++ can be divided into three categories:

  1. Built-in Data Type
  2. User Defined Data Type
  3. Derived Data Type

Built-in Data Types
The C++ compiler supports all the built-in data types. These data types are also known as standard data types and ae not composed of other data types. LEARN MORE>>

C++ Character Set

Character sets affect the fundamental part of the program code, the storage and transmission of data and the logic with which you manipulate text.
The Character set inC++ includes the following"
Source Code Character Set
A C++ compiler may use any character set that includes at least the following characters: LEARN MORE >>

Introduction to C++

C++ (C plus plus) is a general purpose programming language based on the C programming language. In addition to facilities provided by C, C++ provides classes, inline functions, operator overlaoding, constant type references, free store management operators, etc.
C++. Learn More