Skip to main content

Posts

Pointers in C

Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your program's efficiency, and even allow you to handle unlimited amounts of data. For example, using pointers is one way to have a function modify a variable passed to it. It is also possible to use pointers to dynamically allocate memory, which means that you can write programs that can handle nearly unlimited amounts of data on the fly--you don't need to know, when you write the program, how much memory you need. Wow, that's kind of cool. Actually, it's very cool, as we'll see in some of the next tutorials. For now, let's just get a basic handle on what pointers are and how you use them. What are pointers? Why should you care? Pointers are aptly name: they "point" to locations in memory. Think of a row of safety deposit boxes of various sizes at a local bank. Each safety deposit box will have a number associated with it so that you ca...

Microsoft staff photo, December 7, 1978

Microsoft staff photo, December 7, 1978. From left to right: Top: Steve Wood , Bob Wallace , Jim Lane . Middle: Bob O'Rear , Bob Greenberg , Marc McDonald , Gordon Letwin . Bottom: Bill Gates , Andrea Lewis , Marla Wood , Paul Allen . Gates described the photograph in 2009 as "that famous picture that provides indisputable proof that your average computer geek from the late 1970s was not exactly on the cutting edge of fashion.

Where Did The Name Microsoft Come From?

On July 29, 1975, Bill Gates used the name " Micro-soft " in a letter to Paul Allen to refer to their partnership. The name was registered with the secretary of state of New Mexico on November 26, 1976. In August 1977, the company opened their first international office in Japan, called ASCII Microsoft. In 1981, the company incorporated in the state of Washington and became Microsoft Inc. Bill Gates was the President of the Company and the Chairman of the Board, and Paul Allen was the Executive VP.

The History Of Microsoft and Bill Gates

  Microsoft was formed by a Harvard College Dropout called Bill Gates. Bill Gates was born William Henry Gates III on October 28, 1955. He was born to a family that was successful in business, living a comfortable upper middle class life in Seattle, Washington. Early in his elementary school days, Bill Gates quickly shot to the head of the class, consistently outscoring his peers in most subjects, but especially math and science. His parents soon enrolled him in Lakeside Prep School, where the atmosphere was intellectual enough to stimulate the young Gates. This move to Lakeside would prove historic, for it was here, in the spring of 1968, that he was introduced to computers. At that time, computers were still too large and expensive for the school to purchase one of its own. Over the next ten months or so, the school struck agreements with various corporations who allowed the students to use their computers. Bill Gates, his buddy Paul Allen and a handful of o...

Basic Unix and Linux Commands With Examples

Learning unix operating system is very easy. It is just that you need to understand the unix server concepts and familiar with the unix commands. Here I am providing some important unix commands which will be used in daily work. Unix Commands With Examples: 1. Listing files The first thing after logging into the unix system, everyone does is listing the files in a directory. The ls command is used to list the files in a directory. >ls add.sh logfile.txt prime.pl If you simply execute ls on the command prompt, then it will display the files and directories in the current directory. >ls /usr/local/bin You can pass a directory as an argument to ls command. In this case, the ls command prints all the files and directories in the specific directory you have passed. 2. Displaying the contents of a file. The next thing is to display the contents of a file. The cat command is used to display the contents in a file. >cat file.txt This is a sample un...

Basic Dos Commands with examples

Command and Usage Examples ATTRIB Change file attributes. '+' adds an attribute, '-' removes it. Attributes are: A=archive; R=read only; S=system; H=hidden. ATTRIB -R -A -S -H <VIRUS.EXE> All these attributes will be removed from virus.exe. C: Go to the C: drive. Similarly A: and D: etc. C: CD Change directory. When you change directory, the prompt changes, showing the path of the directory you are currently in. Note, directory is the term used by DOS for what Windows calls a folder. CD\ takes you to the top of the directory tree (typically to C:) . CD.. moves you one level up the directory tree (i.e. up towards the root directory). CD <DIRECTORYNAME> takes you to that directory. You can use one or more subdirectory names, separated by \ e.g. CD WINNT\Media takes you to the directory C:\WINNT\Media To change to another path, type the full path with slashes. e.g. CD \WINDOWS\SYSTEM CLS Clear the screen. CLS DEL Delete one or more...

Relationships

Relationships:  One table (relation) may be linked with another in what is known as a  relationship.  Relationships may be built into the database structure to facilitate the operation of relational joins at runtime. A relationship is between two tables in what is known as a  one-to-many  or  parent-child  or  master-detail  relationship where an occurrence on the ‘one’ or ‘parent’ or ‘master’ table may have any number of associated occurrences on the ‘many’ or ‘child’ or ‘detail’ table. To achieve this, the  child  table must contain fields which link back the  primary key  on the  parent  table. These fields on the  child  table are known as a  foreign key,  and the  parent  table is referred to as the foreign table (from the viewpoint of the child). It is possible for a record on the  parent  table to exist without corresponding records on the  child  t...