Use of c and c++, Operating System

One reason to learn C and C++ is simply that so much software is written in these languages. A related, butmore fundamental reason, is that C and C++ are relatively low-level, allowing ef?cient use of resources as well as direct access to pointers, critical for operating systems.

C is low-level, fairly close to what-you-see-is-what-you-get, with effectively no runtime system. (A runtime system is essentially an abstraction layer between the operating system and the appli- cation.) C is ef?cient in code space and execution time.

C++ is an upward-compatible (almost completely) object-oriented extension of C. This allows software-engineering bene?ts, including the use of classes, encapsulation ("private"), templates ("generics"), and other modularity advantages.

Posted Date: 3/12/2013 3:59:01 AM | Location : United States







Related Discussions:- Use of c and c++, Assignment Help, Ask Question on Use of c and c++, Get Answer, Expert's Help, Use of c and c++ Discussions

Write discussion on Use of c and c++
Your posts are moderated
Related Questions
Define the properties operating systems: Batch :- Jobs with similar needs are batched together and  run through the computer as a group by an operator or automatic job sequenc

What is low-level formatting? Before a disk can kept data, it must be required into sectors that the disk controller can read and write. This procedure is called low-level form

Processes- Making the System More Responsive and Useful A method by definition build up of a code execution and resource ownership. A process has two main characteristics, code

Q. Show the services which provided by operating system? A) Resource Allocation: If there are more than one user or jobs running at the same instance then resource

Explain the Per Thread Scoping Thread-level programming introduces new twists for application-level variable scoping. Threads are commonly used in one of two ways. To ex

What is preemptive and nonpreemptive scheduling? Under nonpreemptive scheduling once the CPU has been allocated to a process, the process keeps the CPU unless it releases the C

Define ‘LRU’ page replacement policy LRU is Least Recently Used page replacement policy.

What are a safe state and an unsafe state? Answer:  A state is safe if the system can allocate resources to every process in some order and still avoid a deadlock. A system is

What is an operating system and what are the different types of operating systems? Operating System An Operating System or OS is a software program that allows the compute

Now we consider the following questions: how can the parent process communicate with its child? Or how can children processes communicate with other children? The exact answer depe