Sunday, December 03, 2006

Installation of C,C++


From the C.D copy TURBOC,TURBOC2 folders to the C drive.

For installing C++ open TURBOC folder. Double click install file. Then it installs C++ by creating a folder TC in C drive. Then go to command prompt. In Windows XP type CMD in run box then you will go to command prompt. Then give the command
C:\TC\BIN> COPY C:\TC\BGI\*.BGI as shown in the figure below.


Now press enter. Then C++ will be installed in your computer. For C language no installation is needed. It is already in TURBOC2 folder.

How to Run C++,C languages software?

For C++ go to command prompt then give the command
C:\TC\BIN>TC
Then press enter. Then C++ window comes like this. But this window is not fullscreen window.


For C go to command prompt then give the command
C:\TURBOC2>TC
Then press enter. Then C window comes like this. But this window is not fullscreen window.


You can get full screen windows of both C++,C by following the procedure below.

Start the computer with a bootable C.D or Bootable Floppy then system will come to the A prompt A:\> then change directory to C drive by typing command C: at A:\> prompt like this.
A:\>C: then press enter. Then system will come to C prompt like this.
C:\>

For getting C++ window give the following command then press enter.
C:\TC\BIN>TC

For getting C window give the following command then press enter.C:\TURBOC2>TC


What are Domain Controllers,Member Servers,Stand Alone Servers?


Domain Controller:
A domain Controller is a computer that is running Windows NT Server 4.0 or Windows 2000 Server or Windows server 2003 operating system. Also Active Directory must be installed in both Windows 2000 Server and Windows Server 2003.

Domain Controller stores read-write copy of the domain database. Domain Controllers manage communication between users and domains,including user logon processes,authentication and directory searches. They store directory data and synchronize directory data using multimaster replication,ensuring consistency of information over time. Active Directory supports multimaster replication of directory data between all domain controllers in a domain.

Member server:
A Member Server is a computer that is running Windows NT Server 4.0 or Windows 2000 Server or Windows Server 2003 operating system. But Active Directory is not installed in both Windows 2000 Server and Windows Server 2003. A member server belongs to a domain but it is not a domain controller.

They can operate as file servers,application servers,webservers,database servers,firewalls,certificate servers and remote access servers. They does not process network account logons,participate in active directory replication,store domain security policy information.

By installing Active Directory we can promote a member server to a domain controller. Also we can demote a domain controller to a member server by uninstalling Active Directory.

Stand Alone Server:
A Stand Alone Server is a computer that is running Windows NT server 4.0 or Windows 2000 Server or Windows Server 2003 operating system but it is not a member of a domain. It is a member of a workgroup. These servers can share resources with other computers on the network.

Note: Articles on Windows NT,Windows 2000 Server,Windows 2003 Server will come soon on my blog under the same NETWORKING section.


What is Active Directory?


Introduction:
A Server in a Workgroup can supply services such as the internet connection sharing feature,the internet connection firewall,file and print services.

A Server in a Domain can be a domain controller,can supply services such as DNS and DHCP,or can serve as a router or remote access server.

To make windows 2000 server or windows server 2003 a domain controller we must install Active directory. Windows NT 4.0 do not support Active Directory. The Active Directory service is compatible with Windows NT Server 4.0. Active Directory supports the Windows NT LAN Manager protocol used by Windows NT. This enables authorized users and computers from a Windows NT domain to log on and access resources in Windows 2000 or Windows server 2003 domains. To clients running Windows 95,Windows 98,Windows NT that are not running Active Directory client software,a Windows 2000 server or Windows Server 2003 domain appears to be a Windows NT Server 4.0 Domain. Client computers running Windows XP professional,Windows 2000 Professional have the client software built in and can access Active Directory resources normally.

Active Directory:
Active Directory stores information about network objects,such as user accounts and shared printers and provides access to that information. With a single network logon,administrators can manage directory data and organization throughout their network and authorized network users can access resources anywhere on the network. Security is integrated with Active Directory through logon authentication and access control to objects in the directory. Policy based administration eases the management of complex networks also.

Active directory provides a central location for network administration and delegation of administrative authority. Active Directory includes one or more domains,each with one or more domain controllers. So it enables you to scale the directory to meet any network requirements. Users can use desktop tools to search Active Directory. So It privides flexible and global searching.

Active Directory provides Systematic synchronization of directory updates. Updates are distributed throughout the network through secure and cost efficient replication between domain controllers. We can connect to any domain controller remotely from any Windows based computer that has administrative tools installed.

Note: Articles on Windows NT,Windows 2000 Server,Windows 2003 Server will come soon on my blog under the same NETWORKING section.

What is DHCP,NetBIOS Name,WINS,DNS?


Dynamic Host Configuration Protocol(DHCP):
DHCP is a TCP/IP standard designed to reduce the complexity of administering Address configurations by using a Server. The DHCP server centralizes and manages the allocation of TCP/IP configuration by automatically assigning IP Addresses,Subnet Mask and Default gateway to computers that have been configured to use DHCP.

Whenever a DHCP server receives request from a DHCP client then DHCP server selects an IP Address from a pool of addresses defined in database then offers it to the client for a specified period of time. So client receives valid IP Address.

Suppose we manually configuring IP Addresses,Subnet mask and Gateway. Then entering an invalid IP Address or IP Address currently in use can result in network problems. Entering an incorrect Subnet mask can cause communication problems with other networks.

NetBIOS Name:
It is the computer or host name assigned during installation. The Registry stores this name as an entry. We can change this name through the network program in control panel. The name can be 15 characters in length and we can add a 16 character to the name to designate the application that registered the name.

Windows Internet name Service(WINS):
WINS registers NetBIOS computer names and resolve them to IP Addresses. The database of WINS is DYNAMIC. WINS is designed for Microsoft operating systems only.

If the WINS client initiates a NetBIOS command to communicate with another host then the name query request is sent to WINS server. If the WINS server finds a NetBIOS name/IP address mapping for a host in its database then it returns the destination host's IP Address to the WINS client.

Domain Name System(DNS):
DNS is a system for naming computers and network services. These names are organized into a hierarchy of domains. DNS is used in TCP/IP networks,such as the internet,to locate computers and services through user friendly names. When a user enters a DNS name in an application then DNS services can resolve the name to an IP Address.

Suppose there is a mail server on a network. It has it's own numeric Address. For most users it is difficult to remember the numeric address of the server. Then DNS system names this computer with a user friendly name like example.companymail.com. Any one can remember this type of user friendly name very easily. But computers communicate over network by using numeric Addresses. So DNS services can resolve this user friendly name to it's numeric Address.

DNS uses a client server model in which DNS servers(Name servers) contain information about the DNS database and make this information available to clients(Resolvers).

In brief DNS resolves internet names to IP Addresses. DNS database is static and manually updated whenever a new host is added or an existing host is moved to another subnet. DNS is designed for both Microsoft operating systems and Non Microsoft operating systems such as MainFrames running TCP/IP and UNIX based computers.

Note: Articles on Windows NT,Windows 2000 Server,Windows 2003 Server will come soon on my blog under the same NETWORKING section.


FAT/FAT32/NTFS File Systems


Windows NT Server 4.0 supports FAT(FAT 16) and NTFS file systems. It does not support FAT 32 file system. FAT 32 was designed for win 95/98. If you want to install both Win98 and Windows NT Server 4.0 in a computer then use FAT 16 partitions. FAT 16 supports both Win98/Windows NT Server 4.0. For format the hard disk to FAT 16 partitions you need DOS BOOT DISKETTE and disk manager 9.46 softwares.

Windows 2000 Server supports FAT(FAT 16),FAT 32 and NTFS file systems. If you want to install Active directory then you must have NTFS partitions on your server's hard drives.

Windows Server 2003 supports FAT(FAT 16),FAT 32 and NTFS file systems. If you want to install Active directory then you must have NTFS partitions on your server's hard drives.

FAT: FAT system establishes a file allocation table that provides the name of the file and the location of clusters that make up the file on the hard disk. Even if the file is scattered around the disk,the table makes it possible for the FAT to monitor and find all parts of the file.

FAT is the least complicated type of Windows supported file system. FAT has minimal overhead(less than 1 MB). So it is most applicable to drives or partitions under 400 MB. FAT resides at the top of the fixed allocated space on the hard disk. Two copies of Fat are maintained for security purpose. FAT is updated regularly. FAT supports only network shares.

FAT supports read-only,hidden,system and archive file attributes only. FAT uses 8.3 filenaming convention. A filename may be up to eight characters long,then followed by a period (.),then with an extension of up to three characters. All filenames must be created with ASCII character set. They must start with a letter or a number. Names are not case-sensitive.

FAT performance decreases as the size of the volume increases. So FAT file system is not recommended with drives or partitions larger than 400 MB. It is not possible to set security permissions on files in FAT partitions. FAT does not support local security. Under Windows FAT partitions are limited to a maximum size of 4 GB.

FAT 32: It is an extension of the FAT file system. It uses disk space on a disk more efficiently than FAT.

NTFS: NT file system provides the stability and security. NTFS 5 is the newest version of the NT file system. It provides increased security for files and supports more robust file system recovery. NTFS enables setting file and directory control permissions. NTFS supports both local and remote user permissions on both local and shared files or folders.

NTFS uses 255.3 filenaming convention. NTFS file or directory names may be up to 255 characters long,then followed by a period (.),then with an extension of up to three characters. These names are not case-sensitive. They must start with a letter or a number.

NTFS performance does not degrade as the size of the volume increases. NTFS is best used on volumes of 400 MB or more. NTFS has 1-5 MB overhead. So NTFS should not be used on volumes smaller than 400 MB. Since NTFS overhead does not fit on a floppy,we can not format a floppy with NTFS. NTFS supports partition size of 2 terabytes.

Note: Articles on Windows NT,Windows 2000 Server,Windows 2003 Server will come soon on my blog under the same NETWORKING section.