CONSTANTS

Sabtu, 12 April 2014

0 komentar
A constant is a numeric type or non numeric type.It can be a number, character or a character 
string that can be used as a value  in a program.As the name implies, the value of a constant 
cannot be modified. A constant is immutable.Numeric data is primarily made up of numbers and 
can include decimal points.non numeric data may be composed of numbers,letters,blanks and any 
special characters supported by the system. In other words, non numeric data consists of 
alphanumeric characters,A non numeric data can be called as a literal.Constant are characterized 
by having a value and type.

Numeric constant of three types :

  • integer constant,
  • floating_point constant,
  • character constant. 
Read More..

Stack operations

Jumat, 11 April 2014

0 komentar

/*Program to impelement stack operations
compiler- Turbo c++     author- Mangilal Sharma
--------------------------------------------------------*/
#include <process.h>
#include <conio.h>
#include <iostream.h>
#define max 5

class stack
{
 private:
 int stack_arr[max],top,choice;
 public:
 void push();
 void pop();
 void display();
 stack();
};

void stack::push()
{
 int item;
 if (max==top)
 {
  cout<<"Stack is Overflow
";

 }
 else
 {
  cout<<"
              Insert the element for adding in Stack: ";

  cin>>item;
  stack_arr[top]=item;
  top++;
 }
}

void stack::pop()
{
 if (top==0)
 {
  cout<<"stack is Underflow
";

  return;
 }
 else
 {
  top--;
  cout<<"Element poped from Stack is "<<stack_arr[top];
 }
}

void stack::display()
{
 int i;
 if(top==0)
 cout<<"Stack is Empty
";

 else
 {
  cout<<"Stack is:
";

  for(i=0;i<top;i++)
  cout<<stack_arr[i];
  cout<<"
";

 }
}

stack::stack()
{
 top=0;
 do
 {
  cout<<"
 STACK
";

  cout<<" 1. To Push an Element
";

  cout<<" 2. To Pop an Element
";

  cout<<" 3. To Display the Elements
";

  cout<<" 4. Main Page
";

  cout<<" 5. To Exit from Programme
";

  cout<<"
Enter Your Choice= ";

  cin>>choice;
  switch(choice)
  {
   case 1:
   push();break;
   case 2:
   pop();break;
   case 3:
   display();break;
   case 4:
 return;
   case 5:
 exit(1);
   default:
  cout<<"
Wrong Choice, Enter Again
";

  }
 }while(1);
}
/*=========================4Nov.,2010=============================*/
Read More..

Obtain A Free Criminal Record Check

Kamis, 10 April 2014

0 komentar
By Wilfred Griffin


Individuals who would like to investigate the background of the potential employee, a prospective roommate, spouse or partner may go online to acquire a download court records check. Make sure of various websites gain access to this info.

Website traffic checks give you the history of the person and any charges that this person has already established in the past, this information is critical to a variety of situations. The truth is, these criminal check background documents are typically used in situations where the person has to handle money. By doing the setting checks ahead of time, the business will not be subjected to theft and also other activities that causes the corporation to be responsible for a lawsuit etc

The center name and birth date or physical address is additionally helpful to have and using when receiving a criminal record check. It will be possible to view if the person has any convictions on their own record when youre getting these checks done. Some websites requires money to get paid win to understand the complete background of the baby. This really is entirely your decision about just how much data or information you want to accrue from case to case or persons showcased.

You must look for CRA list on the web site which is normally divided into various categories such occupation, credit profile, renting, insurance and the like. Note that you could dispute the information you will get from CRA file when you obtain it. For potential romantic partners or roommates, you may use any service if you want to test their police arrest records or use a legal method. Easy and simple and many affordable way to check on criminal background would be to employ a professional service provider. These service providers are located easily online although you ought to know of scam companies. Search around online for a number of companies to ensure you can discover the normal price for criminal record check and get away from those companies who will be excessive or way too low.

When you have the required time and you would like to save some money, you should check criminal backgrounds records for yourself from the internet. The beauty of accomplishing this is that youll be capable of acquire other information that person that is beneficial such as habits and character which a professional may not dig. These sites for checking background records comb Facebook, Google along with other web information regarding you which of them you might have shared. Search could share other things of a person that might cause you to be think hard. It is however limited in that you cant find very important details in the event the person has not shared them such as arrest history before.

Ahead of the business proprietor or their representatives selects a niche site, they must be sure which they appreciate how these websites work and the ways to receive the data that they requirement of download. Because some sites are simple to understand and make use of, the disposable criminal checks are typically easily obtain in a timely manner. Alternatively, if the sites usually are not an easy task to navigate thru nor understand, the corporation representative should choose another site to obtain the information that is required. Regardless of the situation, it is necessary for each and every company to review numerous sites before you make the best decision.




About the Author:



Read More..

BASIC and iPhone

Rabu, 09 April 2014

0 komentar
Well, my post the other day about the iPhone wasnt about BASIC programming, but now that Ive had a chance to think about it this new device does have some implications. One interesting thing about iPhones introduction is that nothing was mentioned about development tools. This is a little bit of a contradiction since the iPhone runs Apples OS X, a full blown Unix operating system. Since this new device is more computer than phone you would expect there to be some way to at least customize it by installing software, or perhaps by scripting. This would also make it easier to justify spending $500. On the other hand you must be a Cingular customer. Hmmm. :-/

It would be great if Apple decides to support this. Imagine Liberty BASIC on the iPhone! If software installation isnt a feature of the iPhone at least you will be able to run our web BASIC on it using the Safari web browser since youll have an always-on internet connection. :-)
Read More..

Advantages Using Disk Partition Software

Selasa, 08 April 2014

0 komentar
By Cornelia White


Many reasons exist for the need to use disk partition software. The programs available to use on laptops and desktop computers allow individuals to do many things. One aspect of a partitioning program is the option to install more than one operating system. Another benefit is being able to keep data secured and to download up valuable space on the standard hard drive.

There are numerous utilities that could be utilized to clean up the hard drive on a workstation framework. Be that as it may, the utilization of particular projects offers numerous methods for performing different activities. Anybody pondering about the correct approach to do this can effectively figure out. The most ideal approach for looking into accessible systems is to see the sum of the alternatives accessible on the Internet.

Another way to learn about using partitioning programs is to search for online guides. Most websites in a hard drive category have information that can be useful. The best thing about a guide is it can allow a person to easily go from step to step. This means a once hard process is now easy for people to do for a bloated system. One thing to keep in mind is proper preparation.

The most vital perspective about dividing a hard drive is to move down existing information. This will mean any immensely essential documents that are spared on a framework need to be replicated to blaze drive or other media. Nobody should take the risk of losing all their information if there is an issue with the methodology. Being ready once the methodology starts is never an awful thought.

One of the most ideal routes for anybody to move down the information that is on their Pc framework is to utilize programs that computerize the procedure. In the event that this is not an alternative, then indexes can effectively be duplicated physically. There are strengths for a dividing project which incorporates a reinforcement emphasize that might be discovered on the web. Look into the sum of the alternatives that are at present accessible.

An alternate paramount venture to recollect when forming a hard drive is to make a boot disc. This is the point at which a CD is utilized to begin up a PC if the working framework does not react. The principle explanation for why that boot circles are essential is to have an approach to restart the establishment of the working framework. A boot CD offers different profits that are not dependably seen.

The very first thing to do when a partitioning program has been purchased is to read the manual and all the included instructions. This will ensure the program is set up properly and any issues that are seen in the program are not a surprise. Most programs offer step by step help, but reading the manual is often a good way to avoid any issues.

There are numerous emphasizes that are incorporated with disk partition software. One thing to remember about the characteristics will be to make certain the existing disk drive has been cleaned. This means evacuating any sorts of indexes that are old or are no more vital.




About the Author:



Read More..

Character Pyramid Program

0 komentar
Q. Write a C program to print the following character pyramid C program:

ABCD

CDA
AB
C

Ans.

Cross-reference: Before you read answer of above program i recommend to read Number Pyramid Program for easily understand this program. 

/*c program for character pyramid*/
#include<stdio.h>
int main()
{

 char ch=D,n,c,r,t;
 n=ch;
 for(r=A; r<=ch; r++,n--)
 {
  if(r==B || r==D)
  {
    for(c=A,t=C; c<=n; c++,t++)
    {
      if(c==C && r==B)
         printf("A");
      else
         printf("%c",t);
    }
  }
  else
  {
    for(c=A; c<=n; c++)
        printf("%c", c);
  }
  printf("
"
);

 }
 return 0;
}

The output of above program would be:


Output of character pyramid C program
Figure: Screen shot for character pyramid C program

Read More..

Low Level Language

Senin, 07 April 2014

0 komentar
LLL is stand for Low Level Language. These language also known Machine Language. Definition and some Basic features of low level Language is as following:
  • The language whose design is governed by the circuitry and the structure of the machine is known as Machine Language.
  •  These language is difficult to learn and use.
  • These language is machine-dependent.
  • In these type language program execution is faster compere high level language because code is directed accepted by the machine, no needs to translator.
  • Example of Low level Language is the Assembly Language.
Learn also:
  1. What is High Level Language?
  2. Why C is called Middle Level Language?
  3. What is the use of C programs in real life?
Read More..

TRIANGLE OF STARS

Minggu, 06 April 2014

0 komentar

A C Program to Print          

    *
   **
  ***
 ****
*****
void main()
{
int i,j,k,n;
clrscr();
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=n-1;j>=i;j--)
{
printf(" ");
}
for(k=1;k<=i;k++)
{
printf("*"); 
}
printf("
"); 

}
getch();
Read More..

Run BASIC Two Weeks Report

Jumat, 04 April 2014

0 komentar
Well, Run BASIC (http://www.runbasic.com) has been online now for slightly more than 2 weeks. Weve had more than 1500 unique visitors.

There have been a handful of server crashes in that period and numerous bugfixes. A few of these fixes are related to stability of the server but most are new features or fixes in the compiler or runtime system. This is a very good thing since most of this stuff feeds directly into the Liberty BASIC v5.0 effort. In essence this is a kind of alpha testing for LB5.

The community has responded nicely by creating a Run BASIC section on the Liberty BASIC Conforums site and by putting up a wiki. People have been busy creating programs that run under Run BASIC. Thanks to all of you for that.

Where are we headed with this? We have just started work on a Run BASIC personal edition. This will be a special version of the software that you can install on your own computer. Windows, Mac and Linux will all be supported. The user interface for this will still be web based, but it will be more of an IDE style setup. Our idea is that you can use this system to host a web site and share programs that you write as links on a home page. We are thinking a license for this system will cost $20 to $30.

Once the personal system is launched, we plan to create an educational system for instructors. Each student can have an account, and they can work through their lessons in their browsers whether at home, at school, or wherever they can access the server by means of the internet. Access to student work will be managed for the instructor automatically. Well develop these ideas more later on.
Read More..

Copyright © 2010 All About Tech Information | Powered By Blogger